backdrop
0.9.1, released 3 years ago by fluttercommunity.dev
Backdrop widget that overlays a front layer over a back layer with animated reveal/conceal.
WASM-ready
What it does
Provides a BackdropScaffold that lets you define a backLayer and a frontLayer. The front layer can be toggled to show or hide the back layer with smooth animation. It also offers navigation helpers and state access via Backdrop.of.
AI-written summary of version 0.9.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a Material Design backdrop effect for a screen
- You want a single widget that manages front/back layers and their animation
- You prefer a declarative API without manual animation controllers
Skip it when
- You need fine‑grained control over the animation timing
- You are building a highly custom layered UI that doesn't fit the backdrop pattern
Strengths
- Easy to use declarative API
- Built‑in navigation support
- Smooth animation with minimal code
- Cross‑platform support
Weaknesses
- Limited to the backdrop pattern
- No fine‑grained animation control
- Requires Flutter 3.10+
- Not a general state‑management tool
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
BackdropScaffold(
appBar: BackdropAppBar(title: Text("Backdrop")),
backLayer: Center(child: Text("Back Layer")),
frontLayer: Center(child: Text("Front Layer")),
)Alternatives
Packages that do the same job and could replace backdrop.
- flutter_staggered_grid_view
For complex grid layouts instead of a backdrop
50Compare