kf_drawer
2.1.0, released 4 months ago by an unverified publisher
A customizable animated side drawer for Flutter with controller, gesture, RTL, and multi-platform support.
What it does
Provides a dependency-free animated side drawer widget and controller for Flutter apps. Supports gestures, pinned or centered menus, page history, right-side drawers, and RTL layouts.
AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a custom animated side navigation menu that goes beyond standard Scaffold drawers.
- You require RTL layout support or right-side drawer positioning.
- You want optional page history and back-button handling built into the drawer controller.
Skip it when
- You prefer using standard Material Scaffold drawers without external custom transitions.
- Your navigation relies heavily on complex nested Navigator routing stacks managed entirely externally.
Strengths
- Dependency-free implementation with broad platform support.
- Includes gesture support, edge dragging, and RTL layout awareness.
- Provides optional page history and reactive controller updates.
Weaknesses
- Swaps page widgets instead of pushing native Navigator routes by default.
- Requires managing a custom controller or state structure.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
final drawerController = KFDrawerController(
initialPage: const HomePage(),
items: <KFDrawerItem>[
KFDrawerItem.withPage(
alias: 'home',
icon: const Icon(Icons.home, color: Colors.white),
text: const Text('HOME', style: TextStyle(color: Colors.white)),
page: const HomePage(),
),
],
);
Scaffold(
body: KFDrawer(
controller: drawerController,
),
);Alternatives
Packages that do the same job and could replace kf_drawer.
- menu_bar
A customizable application menu bar widget with submenus for Flutter desktop apps.
74Compare - android_gesture_exclusion
Flutter plugin to exclude Android system gesture navigation in specific UI areas.
50Compare - splashscreen
A customizable, theme‑aware splash screen widget with timer or future navigation and entrance animations.
87Compare - animated_custom_dropdown
Highly customizable animated dropdown for Flutter — search, network search with infinite scroll, multi-selection, overlay animations and a floating label.
76Compare