bottom_bar_page_transition
3.0.0, released 2 months ago by an unverified publisher
Widget that animates page changes in a bottom navigation bar
WASM-ready
What it does
Provides a BottomBarPageTransition widget that wraps page content and animates transitions between pages when the bottom navigation index changes. Supports circle, slide, and fade animations with customizable duration and curve.
AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need custom page transition animations for a bottom navigation bar
- You want to avoid reinitializing page widgets after a transition
- You prefer a simple, declarative API without extra dependencies
Skip it when
- You are using a navigation framework that already handles transitions (e.g., Navigator 2.0 with PageRouteBuilder)
- You need deep link or nested navigation support
Strengths
- Easy to integrate with existing BottomNavigationBar
- Supports multiple animation types out of the box
- No extra build_runner or code generation required
Weaknesses
- Limited to bottom navigation bar use cases
- No support for nested or deep navigation
- Only three animation types available
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
return Scaffold(
body: BottomBarPageTransition(
builder: (_, index) => _getBody(index),
currentIndex: _currentPage,
totalLength: totalPage,
transitionType: transitionType,
transitionDuration: duration,
transitionCurve: curve,
),
bottomNavigationBar: _getBottomBar(),
);Alternatives
Packages that do the same job and could replace bottom_bar_page_transition.
- page_transition
Provides generic page transitions that can be used in any navigation context
77Compare