anydrawer
2.1.1, released 2 weeks ago by nbhatt.com.np
Flutter drawer widget that slides from any edge without requiring a Scaffold.
What it does
A navigation and panel widget that lets you slide drawers from all four edges of the screen. It supports backdrop blur, drag-to-close gestures, edge swiping, returning results, and displaying multiple drawers simultaneously without depending on a Scaffold.
AI-written summary of version 2.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need drawers or panels that slide from the top or bottom, not just left and right.
- Your layout does not use a Scaffold but you still need a slide-out drawer or overlay menu.
- You want to return values (futures) from a drawer like a dialog.
Skip it when
- You are fully satisfied with the standard Flutter Scaffold-bound Drawer.
- You need standard Material Navigation Drawer behaviors built entirely around routing hierarchies.
Strengths
- Works without a Scaffold from any edge (left, right, top, bottom).
- Supports multiple concurrent drawers, backdrop blur, and swipe-from-edge gestures.
- Provides both imperative showDrawer and declarative AnyDrawer APIs.
Weaknesses
- Adds a custom overlay/route approach rather than integrating natively into the standard Scaffold Drawer architecture.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:anydrawer/anydrawer.dart';
showDrawer(
context,
builder: (context) {
return const Center(
child: Text('Hello from the drawer!'),
);
},
);Alternatives
Packages that do the same job and could replace anydrawer.
- slider_captcha
A slider captcha widget for user authentication and drag-and-drop validation.
73Compare - progressive_blur
An iOS-like progressive blur implementation for Flutter using shaders.
63Compare - android_gesture_exclusion
Flutter plugin to exclude Android system gesture navigation in specific UI areas.
50Compare - aura_box
Widget that layers radial gradients with blur for decorative backgrounds.
50Compare