backdrop_modal_route
2.0.4, released 3 years ago by hey24sheep.com
Open backdrop modal routes and non-sticky bottom sheets with minimal code.
WASM-ready
What it does
Provides a custom ModalRoute for Flutter to easily create backdrop modal routes and non-sticky bottom sheets with dynamic content and customizable transitions.
AI-written summary of version 2.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a modal route that displays a backdrop and dynamic content.
- You want a non-sticky bottom sheet experience.
Skip it when
- You need standard Material bottom sheets without custom backdrop requirements.
Strengths
- Minimal code and effort to implement.
- Supports custom block modal transitions and SafeArea configurations.
- No external dependencies.
Weaknesses
- Scrolling content hiding behavior must be implemented manually by the developer.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
final result = await Navigator.push(
context,
BackdropModalRoute<T>(
overlayContentBuilder: (context) =>
YourStatelessOrStatefulBackdropOverlayContentWidget(),
),
);Alternatives
Packages that do the same job and could replace backdrop_modal_route.
- navbar_router
Advanced bottom navigation bar with minimal code, nested routing, and history management.
54Compare - sojo_link
An alternative to Firebase Dynamic Links handling deep links on Android and iOS.
46Compare