Package selection guidance compiled from public package information, community data, and project usage.
DrawerBehavior is a Flutter package that enhances drawer functionality by enabling dynamic visual effects during sliding, such as moving or scaling the content view's height. It provides smooth, interactive transitions that improve user experience in navigation-heavy apps. Designed for developers seeking more control over drawer interactions, it integrates seamlessly with standard Drawer widgets. The library supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it versatile for cross-platform applications.
Use cases
Enhancing drawer animations
Creating immersive navigation experiences
Improving UI responsiveness
Customizing drawer interaction effects
Building modern app interfaces
Key features
Dynamic view movement during drawer slide
Height scaling of content view
Cross-platform compatibility
Easy integration with existing drawers
Smooth, customizable transition effects
Suitable for
Developers building complex navigation patterns
Design-focused Flutter apps
Apps requiring animated drawer interactions
Cross-platform mobile and web projects
UI/UX enhancement specialists
Considerations
May require additional performance tuning
Limited documentation available
Best suited for apps with heavy drawer usage
Potential conflicts with other gesture detectors
Requires understanding of gesture and animation principles
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Drawer Behavior - Flutter
Drawer Behavior is a Flutter library that provides advanced effects and behaviors for the side navigation drawer. Unlike the standard Flutter drawer, this package allows you to create immersive interactions such as moving the view, scaling the view's height, or adding 3D effects while the drawer slides.
✨ Features
Scale Effect: smoothly scales down the main content as the drawer opens.
3D Effect: Adds a rotation depth effect to the main content.
Multi-Directional: Supports both Left and Right side drawers.
Peek Drawer: Keep a portion of the drawer visible even when closed.
Customization: Full control over headers, footers, item builders, and animations.
Null-Safety: Fully supports Dart null-safety.
📦 Installation
Add this to your package's pubspec.yaml file:
dependencies:drawerbehavior:^3.0.0# Check pub.dev for the latest version