Use the showAdaptiveDialog by default when calling showPlatformDialog
Code organizations
Add GitHub pull request and issue template
Add GitHub workflow action
New extension functions
extension BuildContextExt on BuildContext {
bool get isMaterialDesign => isMaterial(this);
bool get isCupertinoDesign => isCupertino(this);
}
## Checklist
<!-- Mark all that applies with `[x]` -->
- [x] I have tested these changes locally. <!-- REQUIRED -->
- [x] I have followed the code style and guidelines. <!-- REQUIRED -->
- [x] I have updated `CHANGELOG.md` with my changes in the next section <!-- REQUIRED -->
- [x] I have run "dart format ." on the project <!-- REQUIRED -->
- [x] I have run `flutter test` and `flutter analyze` and it passed successfully <!-- REQUIRED -->
Pull Request
Description
Clean the code a little bit
Improvements
showAdaptiveDialog
by default when callingshowPlatformDialog
extension BuildContextExt on BuildContext { bool get isMaterialDesign => isMaterial(this); bool get isCupertinoDesign => isCupertino(this); }