drawer_pro 0.0.1
drawer_pro: ^0.0.1 copied to clipboard
A high-performance, parallax slide drawer inspired by Gemini, ChatGPT, and Marks. Features smooth 60fps animations, custom curves, and effortless integration.
Drawer Pro #
A high-performance "Parallax Slide" drawer for Flutter, inspired by the premium menus in Gemini, ChatGPT, and Marks.
Features #
- 🚀 60 FPS Performance: Optimized with
RepaintBoundaryfor zero lag. - 🎨 Parallax Effect: The drawer slides with a depth effect.
- 🛠 Fully Customizable: Change the shadow, slide width, curve, and speed.
- 📱 Universal: Works on Android, iOS, and Web.
Usage #
DrawerPro(
drawer: Container(color: Colors.white, child: Text("Menu")),
child: Scaffold(
appBar: AppBar(
leading: Builder(
builder: (context) => IconButton(
icon: Icon(Icons.menu),
onPressed: () => DrawerPro.of(context)?.open(),
),
),
),
body: Center(child: Text("Main Content")),
),
)
## Installation
Add this to your `pubspec.yaml`:
yaml
dependencies:
drawer_pro: ^0.0.1