animated_sidebar
1.0.1, released 4 years ago by ksevs.de
A collapsible sidebar widget optimized for web and desktop applications.
What it does
Provides a customizable and animated collapsible sidebar widget with support for items, child items, and header configurations. It handles selection state internally or externally and adapts well to different screen sizes.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a collapsible sidebar for a web or desktop Flutter application.
- You want to organize navigation items with parent-child relationships in a sidebar.
Skip it when
- You need a mobile-first bottom navigation or standard drawer paradigm.
- You require complex navigation routing built directly into the widget.
Strengths
- Optimized for web and desktop
- Supports collapsible child items
- Customizable header icon, text, and colors
Weaknesses
- Limited documentation beyond basic usage
- No built-in navigation routing
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
AnimatedSidebar(
expanded: MediaQuery.of(context).size.width > 600,
items: items,
selectedIndex: 0,
onItemSelected: (index) => print(index),
headerIcon: Icons.ac_unit_sharp,
headerIconColor: Colors.amberAccent,
headerText: 'Example',
)Alternatives
Packages that do the same job and could replace animated_sidebar.
- alphabet_list_view
A ListView with sticky headers and an iOS-like clickable sidebar.
76Compare - flutter_layout_grid
A grid layout system for Flutter inspired by CSS Grid Layout.
68Compare - sliver_sticky_collapsable_panel
A Sliver implementation of a sticky collapsible panel with a box header and sliver child.
57Compare - bottom_bar
An optimized bottom navigation bar widget with customizable animations and styling.
54Compare