flutter_multi_dialogs 1.0.4 copy "flutter_multi_dialogs: ^1.0.4" to clipboard
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.4 - 2025-01-18 #

Fixed #

  • ๐Ÿ”ง Final formatting and analysis fixes

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

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.dart to flutter_multi_dialogs.dart for 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 Android
    • showAdaptiveLoadingDialog - Platform-aware loading dialogs
    • showAdaptiveSuccessDialog - Adaptive success dialogs
    • showAdaptiveErrorDialog - Adaptive error dialogs
    • showAdaptiveWarningDialog - Adaptive warning dialogs
    • showAdaptiveInfoDialog - Adaptive info dialogs
  • ๐ŸŽ Cupertino (iOS) Dialogs: Full iOS-style dialog support

    • showCupertinoAlertDialog - iOS-style alert dialogs
    • showCupertinoIconAlertDialog - Alert dialogs with custom icons
    • showCupertinoActionSheet - iOS-style action sheets
    • showCupertinoListActionSheet - Action sheets with list items
    • showCupertinoLoadingDialog - iOS-style loading dialogs
    • showCupertinoSuccessDialog - Success dialogs with Cupertino styling
    • showCupertinoErrorDialog - Error dialogs with Cupertino styling
    • showCupertinoWarningDialog - Warning dialogs with Cupertino styling
    • showCupertinoInfoDialog - Info dialogs with Cupertino styling
  • ๐ŸŽจ Preset Dialogs: Ready-to-use dialog presets for common scenarios

    • showSuccessDialog - Success messages with check icon
    • showErrorDialog - Error messages with error icon
    • showWarningDialog - Warning messages with warning icon
    • showInfoDialog - Informational messages with info icon
  • ๐ŸŽฏ Material Design Dialogs: Enhanced Material Design dialog support

    • showAlertDialog - Standard alert dialogs
    • showIconAlertDialog - Alert dialogs with custom icons
    • showLoadingDialog - Loading dialogs with customizable options
    • showSimpleListDialog - List dialogs with item selection
    • showCustomDialog - Fully customizable dialogs
    • showCustomAlertDialog - Custom alert dialogs with builders
    • showCustomSimpleDialog - 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 RaisedButton with ElevatedButton
    • Replaced deprecated FlatButton with TextButton
  • ๐Ÿ”„ 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.0 for code quality

Previous Versions (Legacy) #

0.1.6 Legacy #

  • Initial release with basic Material Design dialogs
  • Loading dialogs, alert dialogs, and simple dialogs
1
likes
160
points
47
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package providing multiple Material Design dialogs with easy-to-use APIs, including loading dialogs, alert dialogs, list dialogs, and customizable dialogs.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_multi_dialogs