flutter_multi_dialogs 1.0.0
flutter_multi_dialogs: ^1.0.0 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.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