Skip to content
pubscout

animated_rail

2.0.2, released 4 years ago by an unverified publisher

Flutter animated navigation rail with closing, opening, and custom effects.

WASM-ready
$ flutter pub add animated_rail
Source repository

What it does

Provides an animated navigation rail widget with customizable tile configurations, expand and collapse capabilities, and multiple visual effects. It allows managing tabs with items containing icons, labels, and associated screens.

AI-written summary of version 2.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need an animated navigation rail for a responsive or desktop/tablet layout.
  • You want customizable rail items with collapsing and expanding states.

Skip it when

  • You prefer standard Material NavigationRail without extra third-party animations.
  • You need deep route integration managed automatically by a router like go_router.

Strengths

  • Supports expanding, collapsing, and custom item builders.
  • RTL direction support and various cursor options.
  • Easy to integrate with custom styling via RailTileConfig.

Weaknesses

  • Limited built-in integration with advanced navigation packages.
  • Lacks customization for custom rail shapes and pointers according to the roadmap.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
AnimatedRail(
  background: hexToColor('#8B77DD'),
  maxWidth: 275,
  width: 100,
  expand: false,
  isStatic: true,
  items: [
    RailItem(
        icon: Icon(Icons.home),
        label: "Home",
        screen: _buildScreen('Home')),
  ],
)

Alternatives

Packages that do the same job and could replace animated_rail.