flutter_declarative_popups library
Flutter Declarative Popups - A declarative popup routes library for Flutter's Navigator 2.0
This library provides page-based alternatives to Flutter's imperative popup APIs, enabling seamless integration with Navigator 2.0, go_router, and other declarative navigation solutions.
Classes
- CupertinoDialogOverlay
- A convenience widget that shows a dialog using CupertinoDialogPage.
-
CupertinoDialogPage<
T> - A page that creates a Cupertino-style dialog route.
- CupertinoModalPopupOverlay
- A convenience widget that shows a modal popup using CupertinoModalPopupPage.
-
CupertinoModalPopupPage<
T> - A page that creates a Cupertino-style modal popup route.
-
CupertinoSheetPage<
T> - A declarative Page that shows its content inside a Cupertino‑style sheet.
-
DialogPage<
T> - A page that displays a dialog when pushed onto the Navigator.
-
ModalBottomSheetPage<
T> - A declarative page-based modal bottom sheet that can be used with Navigator 2.0.
-
RawDialogPage<
T> - A page-based implementation of RawDialogRoute that can be used with Navigator 2.0 and declarative routing.
Extensions
- DeclarativePopupBuilders on BuildContext
- Extension methods for creating popup pages without immediately pushing them.
- Extension methods for convenient navigation with declarative popup pages.