flow_drawer 0.0.3
flow_drawer: ^0.0.3 copied to clipboard
A custom animated drawer package for Flutter apps.
๐ฌ Demo #


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.