flutter_multi_dialogs 1.0.4
flutter_multi_dialogs: ^1.0.4 copied to clipboard
A Flutter package providing multiple Material Design dialogs with easy-to-use APIs, including loading dialogs, alert dialogs, list dialogs, and customizable dialogs.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.3 - 2025-01-18 #
Fixed #
- ๐ง Fixed Dart code formatting issues for pub.dev compliance
- Formatted all Dart files using
dart format - Ensured all files match Dart formatter standards
- Formatted all Dart files using
1.0.2 - 2025-01-18 #
Fixed #
- ๐ง Fixed static analysis issues for pub.dev compliance
- Fixed enum constant naming (Vertical โ vertical, Horizontal โ horizontal)
- Fixed file naming convention (showBottomDialog.dart โ show_bottom_dialog.dart)
- Added proper @override annotations for Dialog field overrides
- Removed unnecessary Container widget
- Added missing curly braces in control flow structures
- Added const constructors in tests for better performance
- ๐ง Updated LICENSE file with full Apache 2.0 text for OSI recognition
- ๐ง Fixed repository URL validation
1.0.1 - 2025-01-18 #
Fixed #
- ๐ง Renamed main library file from
multiple_dialog.darttoflutter_multi_dialogs.dartfor consistency with package name - ๐ง Updated all imports to use the correct library file name
1.0.0 - 2025-01-18 #
Added #
-
โจ Adaptive Dialogs: Automatic platform detection (iOS โ Cupertino, Android โ Material)
showAdaptiveAlertDialog- Automatically uses Cupertino on iOS, Material on AndroidshowAdaptiveLoadingDialog- Platform-aware loading dialogsshowAdaptiveSuccessDialog- Adaptive success dialogsshowAdaptiveErrorDialog- Adaptive error dialogsshowAdaptiveWarningDialog- Adaptive warning dialogsshowAdaptiveInfoDialog- Adaptive info dialogs
-
๐ Cupertino (iOS) Dialogs: Full iOS-style dialog support
showCupertinoAlertDialog- iOS-style alert dialogsshowCupertinoIconAlertDialog- Alert dialogs with custom iconsshowCupertinoActionSheet- iOS-style action sheetsshowCupertinoListActionSheet- Action sheets with list itemsshowCupertinoLoadingDialog- iOS-style loading dialogsshowCupertinoSuccessDialog- Success dialogs with Cupertino stylingshowCupertinoErrorDialog- Error dialogs with Cupertino stylingshowCupertinoWarningDialog- Warning dialogs with Cupertino stylingshowCupertinoInfoDialog- Info dialogs with Cupertino styling
-
๐จ Preset Dialogs: Ready-to-use dialog presets for common scenarios
showSuccessDialog- Success messages with check iconshowErrorDialog- Error messages with error iconshowWarningDialog- Warning messages with warning iconshowInfoDialog- Informational messages with info icon
-
๐ฏ Material Design Dialogs: Enhanced Material Design dialog support
showAlertDialog- Standard alert dialogsshowIconAlertDialog- Alert dialogs with custom iconsshowLoadingDialog- Loading dialogs with customizable optionsshowSimpleListDialog- List dialogs with item selectionshowCustomDialog- Fully customizable dialogsshowCustomAlertDialog- Custom alert dialogs with buildersshowCustomSimpleDialog- Custom simple dialogs
-
๐จ Material 3 Support: Full Material 3 compatibility
- Adaptive border radius (28.0 for Material 3, 12.0 for Material 2)
- Adaptive elevation (3.0 for Material 3, 24.0 for Material 2)
- Theme-aware background colors
-
๐งช Testing: Comprehensive test suite
- Unit tests for all models and builders
- Widget tests for all dialog types
- Platform detection tests
- Material 3 helper tests
-
๐ Documentation: Complete documentation
- Comprehensive README with examples
- API documentation with DartDoc
- Usage examples for all dialog types
Changed #
- ๐ Null Safety: Full null-safety migration
- ๐ Widget Modernization: Updated to modern Flutter widgets
- Replaced deprecated
RaisedButtonwithElevatedButton - Replaced deprecated
FlatButtonwithTextButton
- Replaced deprecated
- ๐ Code Structure: Refactored into modular architecture
- Separated dialogs into individual files
- Organized models, builders, and utilities
- Improved code maintainability
Fixed #
- ๐ Fixed deprecated widget usage
- ๐ Fixed null-safety issues
- ๐ Fixed Material 3 compatibility issues
- ๐ Improved dialog theming and styling
Technical Details #
- SDK: Requires Dart >=2.17.0 <4.0.0
- Flutter: Compatible with Flutter stable channel
- Linting: Uses
flutter_lints ^3.0.0for code quality
Previous Versions (Legacy) #
0.1.6 Legacy #
- Initial release with basic Material Design dialogs
- Loading dialogs, alert dialogs, and simple dialogs