easy_animated_tabbar 0.0.1
easy_animated_tabbar: ^0.0.1 copied to clipboard

A Flutter package for simply making a list of selectable objects with custom shapes.

easy_animated_tabbar #

Maybe you want use a tabbar without any additional page so this package help you to make your tabbar. In additional some tiems you want create a selectable button list.

Getting Started #

You can use it simply way as : #

EasyAnimatedTab(
            buttonTitles: ['button1','button2'],
            onSelected: (index) {},
          ),

Or add adittional options for custome it: #

EasyAnimatedTab(
            buttonTitles: buttons,
            onSelected: (index) {},
            animationDuration: 500,
            minWidthOfItem: 70,
            minHeightOfItem: 40,
            deActiveItemColor: Colors.grey,
            activeItemColor: Colors.redAccent,
            activeTextStyle: TextStyle(color: Colors.white, fontSize: 14),
            deActiveTextStyle: TextStyle(color: Colors.redAccent, fontSize: 14),
          ),

This package has below options: #

  • List
  • void Function(int) onSelected : that return selected index
  • int selectedIndex : that is starter selected item index the defualt value is 0
  • int animationDuration : the duration of animation for changing between current selected item and last one
  • double minWidthOfItem : this is min width of items, the defualt value is 80
  • double minHeightOfItem : this is min height of items, the defualt value is 40
  • Color deActiveItemColor : color of deactivated items
  • Color activeItemColor : color of activeated items
  • TextStyle activeTextStyle : style of activated item's text
  • TextStyle deActiveTextStyle: style of de activated item's text
  • double activeBorderRadius : border radius of active item
  • double deActiveBorderRadius : border radius of de active item

You can add your issue to this repository to help growing this package #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

10
likes
120
pub points
17%
popularity

A Flutter package for simply making a list of selectable objects with custom shapes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on easy_animated_tabbar