flutter_declarative_popups 0.3.3
flutter_declarative_popups: ^0.3.3 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.3 - 2026-02-17 #
- Fixed GitHub Actions publish flow to use the official pub.dev trusted publisher OIDC workflow.
- No public API changes.
0.3.2 - 2026-02-17 #
- Maintenance release to publish through the updated GitHub release pipeline.
- No public API changes.
0.3.1 - 2026-02-17 #
- Added compatibility updates for newer Flutter SDKs:
- Updated
CupertinoSheetPageinternals to align with latestCupertinoSheetRouteAPI changes. - Kept custom sheet top gap behavior wired through the SDK route API.
- Updated
- Added
Pagepop lifecycle passthrough support across popup pages via:canPoponPopInvoked
- Migrated Navigator 2 example and docs away from deprecated
onPopPagetoonDidRemovePage. - Improved popup result handling in the Navigator 2 example using
onPopInvokedplus route removal callbacks.
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