Skip to content

jagritjkh/animated_button_bars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages