animated_rail
2.0.2, released 4 years ago by an unverified publisher
Flutter animated navigation rail with closing, opening, and custom effects.
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.
- parallax_rain
Widget that renders customizable 3D rain effect
75Compare - animated_button
A simple and customizable animated button with 3D-like effect.
46Compare - ticket_widget
Flutter package to implement a ticket-like widget in your application.
50Compare - animated_shimmer
A lightweight widget that shows an animated shimmer effect for loading placeholders.
39Compare