flutter_declarative_popups 0.3.0
flutter_declarative_popups: ^0.3.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.3.0 - 2025-08-16 #
- Enhanced CupertinoSheetPage documentation with important drag-to-dismiss behavior warnings for nested navigators.
- Updated example app to use go_router for modern declarative navigation patterns.
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
onBarrierTapcallback - 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 toshowDialogModalBottomSheetPage- Declarative alternative toshowModalBottomSheet
-
Cupertino (iOS) Pages
CupertinoModalPopupPage- Declarative alternative toshowCupertinoModalPopupCupertinoSheetPage- 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