Thursday, 4 July 2019

Flutter circle bottom bar by animation

flutter tutorial,flutter,flutter tutorial for beginners,flutter app,flutter tutorials,flutter sdk,tutorial,flutter course,learn flutter,flutter tutorial ios,flutter firebase tutorial,flutter widgets,flutter app development tutorial,flutter ios,flutter dart,flutter android,google flutter,flutter sdk tutorial,flutter tutorial app,google flutter tutorial,flutter sqflite tutorial,flutter tutorial deutsch,flutter tutorial android


Animation circle bottom bar

Flutter circle bottom bar by animation.
flutter tutorial,flutter,flutter tutorial for beginners,flutter app,flutter tutorials,flutter sdk,tutorial,flutter course,learn flutter,flutter tutorial ios,flutter firebase tutorial,flutter widgets,flutter app development tutorial,flutter ios,flutter dart,flutter android,google flutter,flutter sdk tutorial,flutter tutorial app,google flutter tutorial,flutter sqflite tutorial,flutter tutorial deutsch,flutter tutorial android


how to use:

1. add dependencies to pubspec.yaml:
circle_bottombar: ^1.1.1
YAML
2. create tabs:
    List<TabItem> tabItems = List.of([
          new TabItem(Icons.person_outline, Colors.red.shade100),
          new TabItem(Icons.lightbulb_outline, Colors.red.shade200),
          new TabItem(Icons.home, Colors.red.shade300),
          new TabItem(Icons.phone_locked, Colors.red.shade400),
          new TabItem(Icons.person_outline, Colors.red.shade500),
        ]);
Dart
3. create bottombar:
bottomNavigationBar: CircularBottomNavigation(
        tabItems,
        selectedCallback: (int selectedPos) {
          setState(() {
            _text = "text " + selectedPos.toString();
          });
          print("clicked on $selectedPos");
        },
        controller: _navigationController,
        barBackgroundColor: Colors.black,
        normalIconColor: Colors.red.shade900,
        iconsSize: 24,
        selectedIconColor: Colors.white,
        animationDuration: Duration(milliseconds: 500),
        circleStrokeWidth: 5,
        circleStrokeColor: Color(0xFF680200),
        barShadowSize: 2.0,
        barLineColor: Colors.red.shade900,
        barLineSize: 2.0,
        barShowLine: true,
      )



GitHub

Flutter circle bottom bar by animation — Read More
Latest commit to the master branch on 5-19-2019
Download as zip