titled_navigation_bar 2.0.0 copy "titled_navigation_bar: ^2.0.0" to clipboard
titled_navigation_bar: ^2.0.0 copied to clipboard

outdated

A beautiful, clean and simple bottom navigation bar with smooth animation on click. This package is high customizable, read more bellow for more details.

Titled Bottom Navigation Bar #

A beautiful, clean and simple bottom navigation bar with smooth animation on click. This package is high customizable, read more bellow for more details.

You can see the source code of this lib inside the /lib folder.

Show some ❤️ and star the repo to support this project #

Preview (default mode) #

Default Mode Gif

Preview (with reverse mode) #

Reversed Mode Gif

Package overview #

  • Custom icon color
  • Custom indicator color
  • Support from two to five items
  • Reverse mode (show selected item as icon or title)

Getting Started #

Follow these steps to use this library

Add the plugin: #

dependencies:
  ...
  titled_navigation_bar: ^2.0.0

Import the package #

import 'package:bottom_navy_bar/bottom_navy_bar.dart';

Adding the widget #

bottomNavigationBar: TitledBottomNavigationBar(
  onTap: (index){
    print("Selected Index: $index");
  },
  items: [
      TitledNavigationBarItem(title: 'Home', icon: Icons.home),
      TitledNavigationBarItem(title: 'Search', icon: Icons.search),
      TitledNavigationBarItem(title: 'Bag', icon: Icons.card_travel),
      TitledNavigationBarItem(title: 'Orders', icon: Icons.shopping_cart),
      TitledNavigationBarItem(title: 'Profile', icon: Icons.person_outline),
  ]
)

Customization (Optional) #

TitledBottomNavigationBar #

onTap - Use this to get notified when a item is clicked, you can retrieve the current item's index on this function. Should not be null!
items - The items of your bottom navigation bar. Use the TitledNavigationBarItem class to add items. Should not be null!
reverse - If true, the visible widget of the selected item will be the Text (with the title of the item). If false, the visible widget of the selected item will be the icon. Default to false
activeColor - The active Text/Icon color. The default color is the indicatorColor of your app Theme.
inactiveColor - The inactive Text/Icon color. The default is the black color.
indicatorColor - The indicator color. The default color is the indicatorColor of your app Theme.

TitledNavigationBarItem #

icon -The icon of this item. This will be used as default state if reverse mode is disabled
title - The title of this item. This will be used as default state if reverse mode is enabled

141
likes
0
pub points
89%
popularity

Publisher

verified publisherpedromassango.dev

A beautiful, clean and simple bottom navigation bar with smooth animation on click. This package is high customizable, read more bellow for more details.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on titled_navigation_bar