animated_button_bars 0.0.1+1
animated_button_bars: ^0.0.1+1 copied to clipboard

Animated button bars which can be used as bottom navigation bars as well as tab bar.

animated_button_bars #

A new Flutter project.

Getting Started #

To use this package, add animated_button_bars as a dependency in your pubspec.yaml file.

See example for the usage of animated button bar

Add dependency #

dependencies:
  animated_button_bars: ^0.0.1

Import #

import 'package:animated_button_bars/animated_button_bars.dart';

Usage: AnimatedTextBar #

Single item in the list of Bar Items #

BarItem(
    label: "Yellow",
    iconData: Icons.skip_previous,
    activeColor: Colors.yellow,
),

AnimatedTextBar itself #

AnimatedTextBar(
    borderRadius: BorderRadius.circular(30),
    margin: EdgeInsets.all(20),
    onTap: (index) {
        setState(() {
            _currentIndex = index;
        });
    },
    items: _barItems,
),

Many more animated button bars will be added soon..!

Made with ❤️ by Jagrit

3
likes
130
pub points
30%
popularity

Animated button bars which can be used as bottom navigation bars as well as tab bar.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on animated_button_bars