Navigation Action Bar

A flutter package for a beautiful modern Navigation Bar along with a Floating Action Bar

Platform License: MIT

Table of contents


1. Depend on it

Add this to your package's pubspec.yaml file:

  navigation_action_bar: ^0.0.1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

3. Import it

Now in your Dart code, you can use:

import 'package:navigation_action_bar/navigation_action_bar.dart';


      bottomNavigationBar: NavigationActionBar(
        context: context,
        scaffoldColor: Colors.blueAccent,
        index: 0,
        subItems: [
          NavBarItem(iconData: Icons.attach_file, size: 25),
          NavBarItem(iconData:, size: 25),
          NavBarItem(iconData: Icons.camera_alt, size: 25),
        mainIndex: 2,
        items: [
          NavBarItem(iconData: Icons.list, size: 30),
          NavBarItem(iconData: Icons.compare_arrows, size: 30),
          NavBarItem(iconData: Icons.add, size: 40),
          NavBarItem(iconData: Icons.call_merge, size: 30),
          NavBarItem(iconData: Icons.person, size: 30),
        onTap: (index) {
          setState(() {
            currentIndex = index;


Dart attributeDatatypeDescriptionDefault Value
indexintSpecifies the index of the tab which needs to be open initially0
mainIndexintSpecifies the index where the Rotating Button should be placed@required
itemsList<NavBarItem>The list of widgets which are to be displayed in the Navigation Bar@required
subItemsList<NavBarItem>The list of widgets which are to be displayed in Action Bar@required
scaffoldColorColorThe color of the scaffoldColors.blueAccent
backgroundColorColorThe background color of Navigation BarColors.white
animationCurveAnimationCurveSpecifies the type of animation curve used by action buttonsCurves.bounceOut
animationDurationDurationSpecifies how long the animation will last300 Milliseconds


Navigation_Action_Bar is licensed under MIT license. View license.