floating_bottom_bar
0.0.4, released 10 months ago by mindinventory.com
Provides a floating bottom navigation bar with a sliding animation and center action button.
What it does
This package provides a custom bottom navigation bar widget with sliding animations for a floating action button located at the center and bottom tab buttons. It allows configuring multiple tab items, center button actions, and initial indexes using a controller.
AI-written summary of version 0.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a floating bottom navigation bar with custom center button animations.
- You want to display animated tab items with customizable icons, titles, and dot colors.
Skip it when
- You require a standard Material BottomNavigationBar without custom floating animations.
- You need an advanced layout that goes beyond the provided AnimatedBottomNavigationBar parameters.
Strengths
- Includes built-in sliding animations for the bottom bar items and center button.
- Supports custom center button child options and item selection states.
Weaknesses
- Limited documentation on all available styling options.
- No explicit alternatives from the catalog list that perform the exact same floating bottom bar function.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
bottomNavigationBar: AnimatedBottomNavigationBar(
barColor: Colors.white,
controller: FloatingBottomBarController(initialIndex: 1),
bottomBar: [
BottomBarItem(
icon: const Icon(Icons.home),
iconSelected: const Icon(Icons.home, color: Colors.red),
title: 'Home',
dotColor: Colors.red,
onTap: (value) {},
),
],
bottomBarCenterModel: BottomBarCenterModel(
centerBackgroundColor: Colors.red,
centerIcon: const FloatingCenterButton(
child: Icon(Icons.add, color: Colors.white),
),
centerIconChild: [],
),
)Alternatives
Packages that do the same job and could replace floating_bottom_bar.
- flutter_floating_bottom_bar
An adaptable floating bottom bar that reacts to scrolling and stays accessible.
87Compare - curved_nav_bar
Curved bottom navigation bar with a customizable center action button.
68Compare - quick_actions_android
Android implementation of Flutter quick_actions plugin
80Compare - animated_bottom_navigation_bar
An animated bottom navigation bar widget supporting floating action buttons and notches.
79Compare
Works with
Packages commonly used together with floating_bottom_bar: ones it builds on, ones built on it, and its own family.