A new Flutter project.
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
dependencies:
animated_button_bars: ^0.0.1
import 'package:animated_button_bars/animated_button_bars.dart';
BarItem(
label: "Yellow",
iconData: Icons.skip_previous,
activeColor: Colors.yellow,
),
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