hideable_bottom_bar 0.0.1 hideable_bottom_bar: ^0.0.1 copied to clipboard
Hideable bottom bar plugin.
A Flutter implementation of hideable bottom bar with vertical slide animation.
Features #
Create bottom navigation bar that can animate bellow screen.
Install #
In the pubspec.yaml
of your flutter project, add the following dependency:
dependencies:
hideable_bottom_bar: <latest_version>
In your library add the following import:
import 'package:hideable_bottom_bar/hideable_bottom_bar.dart';
Usage #
Create HideableBottomBar place it in Stack and change bottomPosition to animate widget.
HideableBottomBar(
selectedIndex: selectedIndex,
bottomPosition: bottomPosition,
horizontalPadding: 24,
children: List.generate(
5,
(index) => HideableBottomNavigationItem(
index: index,
name: _text(index),
icon: _icon(index),
),
),
onSelected: (c) {
selectedIndex = c.index;
},
),