Giter Site home page Giter Site logo

easyanimatedtabbar's Introduction

easy_animated_tabbar

pub package style: effective dart

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 buttonTitles : the titles list that show
  • 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.