Skip to content
pubscout

animated_sidebar

1.0.1, released 4 years ago by ksevs.de

A collapsible sidebar widget optimized for web and desktop applications.

WASM-ready
$ flutter pub add animated_sidebar
Source repository

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.