flow_drawer 0.0.1
flow_drawer: ^0.0.1 copied to clipboard
A custom animated drawer package for Flutter apps.
flow_drawer #
A flexible and animated side drawer package for Flutter.
Easily add beautiful, responsive, and smooth-flowing drawers to your app — perfect for menus, sidebars, or custom navigation.
✨ Features #
- 🎯 Smooth animated drawer transitions
- 🧱 Customizable drawer items
- 🎮 Controller to open/close programmatically
- 📐 Supports top menu layout
- 🧩 Easy integration with any app structure
🚀 Getting Started #
Add this to your pubspec.yaml:
dependencies:
flow_drawer: ^1.0.0
Then run:
flutter pub get
📦 Import #
import 'package:flow_drawer/flow_drawer.dart';
🛠️ Usage #
final controller = FlowDrawerController();
FlowDrawer(
controller: controller,
drawer: FlowDrawerListWidget(
items: [
FlowDrawerMenuItem(
icon: Icon(Icons.home, color: Colors.white),
text: "Home",
onTap: () => print("Home tapped"),
controller: controller,
),
// Add more items...
],
),
child: YourMainScreen(),
)
📄 Widgets #
✅ FlowDrawer #
Main drawer widget that wraps your screen.
✅ FlowDrawerController #
Used to control drawer open/close programmatically.
✅ FlowDrawerMenuItem #
Each item in the drawer list. Customizable with icon, text, and onTap.
✅ FlowDrawerListWidget #
Vertical list layout for drawer items.
✅ FlowDrawerTopMenuWidget #
Optional top widget to show user info, avatar, etc.
📂 Example #
A full working example is available in the /example folder.
📸 Screenshots #
🧪 Testing #
Run tests with:
flutter test
📄 License #
MIT © Akshay Kumar K M
Powered by: www.yahska.net
🤝 Contribute #
Pull requests and issues are welcome!
If you find this package useful, please ⭐ it on GitHub.