flutter_declarative_popups 0.2.0
flutter_declarative_popups: ^0.2.0 copied to clipboard
Declarative popup routes for Navigator 2.0. Material, Cupertino, and custom popup pages with type-safe navigation and state restoration.
Changelog #
[0.2.0] - 2025-06-04 #
- Added CupertinoDialogPage - Declarative alternative to
showCupertinoDialog
- Full iOS-style dialog support with fade and scale animations
- Custom barrier tap handling with
onBarrierTap
callback - Semantic hints for accessibility with
barrierOnTapHint
- Customizable transition duration and animations
- Complete integration with Navigator 2.0
[0.1.0] - 2025-06-04 #
Initial Release #
-
Material Design Pages
DialogPage
- Declarative alternative toshowDialog
ModalBottomSheetPage
- Declarative alternative toshowModalBottomSheet
-
Cupertino (iOS) Pages
CupertinoModalPopupPage
- Declarative alternative toshowCupertinoModalPopup
CupertinoSheetPage
- iOS-style sheet presentations
-
Custom/Raw Pages
RawDialogPage
- Base implementation for custom popup routes
-
Features
- Full Navigator 2.0 support
- Type-safe with generics
- State restoration support
- Nested navigation support
- Custom animations and transitions
- Barrier customization
- go_router compatibility
-
Developer Experience
- Comprehensive documentation
- Extension methods for convenient navigation
- Rich example application
- Full API documentation