All Projects → pedromassango → Titled_navigation_bar

pedromassango / Titled_navigation_bar

Licence: mit
A beautiful and simple bottom navigation bar with smooth animation when switching selected item.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Titled navigation bar

Awesome Android
😎 A curated list of awesome Android resources
Stars: ✭ 26 (-88.79%)
Mutual labels:  android-studio, library
Awesome Android Ui
😎 A curated list of awesome Android UI/UX libraries
Stars: ✭ 353 (+52.16%)
Mutual labels:  android-studio, library
Cardviewlist
An elegant and responsive CardView like Android on iOS with Swift. Available horizontal and vertical scrolling with full animations and customizable.
Stars: ✭ 30 (-87.07%)
Mutual labels:  library, ios-lib
Weatherview
WeatherView is an Android Library let you make cool weather animations for your app
Stars: ✭ 426 (+83.62%)
Mutual labels:  android-studio, library
K4kotlin
A sweet, small set of Kotlin functions to reduce your android boilerplate code
Stars: ✭ 210 (-9.48%)
Mutual labels:  android-studio, library
Printooth
A well documented, high-level Android interface that makes printing via bluetooth printers easier
Stars: ✭ 231 (-0.43%)
Mutual labels:  library
Openct Android
open class table for android
Stars: ✭ 234 (+0.86%)
Mutual labels:  library
Behaviortree.js
An JavaScript implementation of Behavior Trees.
Stars: ✭ 228 (-1.72%)
Mutual labels:  library
Srs Librtmp
The client library srs-librtmp of SRS(https://github.com/ossrs/srs)
Stars: ✭ 228 (-1.72%)
Mutual labels:  library
Sparrow
A simple database toolkit for PHP
Stars: ✭ 236 (+1.72%)
Mutual labels:  library
Slidr
Easily add slide to dismiss functionality to an Activity
Stars: ✭ 2,622 (+1030.17%)
Mutual labels:  library
Opentouryo
”Open棟梁”は、長年の.NETアプリケーション開発実績にて蓄積したノウハウに基づき開発した.NET用アプリケーション フレームワークです。 (”OpenTouryo” , is an application framework for .NET which was developed using the accumulated know-how with a long track record in .NET application development.)
Stars: ✭ 233 (+0.43%)
Mutual labels:  library
Animatoo
A lightweight and easy to use Android library that provides many activity transition animations.
Stars: ✭ 232 (+0%)
Mutual labels:  android-studio
Walletconnect Monorepo
WalletConnect Monorepo
Stars: ✭ 230 (-0.86%)
Mutual labels:  library
Reel Search
🔍 RAMReel is a UI controller that allows you to choose options from a list. Swift UI library made by @Ramotion
Stars: ✭ 2,533 (+991.81%)
Mutual labels:  library
Figma Export
Command line utility to export colors, typography, icons and images from Figma to Xcode / Android Studio project
Stars: ✭ 235 (+1.29%)
Mutual labels:  android-studio
Saml2
SimpleSAMLphp low-level SAML2 PHP library
Stars: ✭ 229 (-1.29%)
Mutual labels:  library
Inline syscall
Inline syscalls made easy for windows on clang
Stars: ✭ 232 (+0%)
Mutual labels:  library
Wallpaperboard
Android Json based wallpaper dashboard library
Stars: ✭ 235 (+1.29%)
Mutual labels:  library
Libschrift
A lightweight TrueType font rendering library
Stars: ✭ 233 (+0.43%)
Mutual labels:  library

Pub Awesome Flutter

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

  • [x] Custom icon color
  • [x] Custom indicator color
  • [x] Support from two to five items
  • [x] Reverse mode (show selected item as icon or title)
  • [x] Option to define custom item background color
  • [x] Use currentIndex property to update the Bar giving a tab position
  • [x] No need setState(...) to update the current index
  • [x] Support RTL TextDirection (thanks to Victor Uvarov)

Getting Started

Follow these steps to use this library

Add the plugin:

dependencies:
  ...
  titled_navigation_bar: ^5.0.0-nullsafety.0

Import the package

import 'package:titled_navigation_bar/titled_navigation_bar.dart';

Adding the widget

bottomNavigationBar: TitledBottomNavigationBar(
  currentIndex: 2, // Use this to update the Bar giving a position
  onTap: (index){
    print("Selected Index: $index");
  },
  items: [
      TitledNavigationBarItem(title: Text('Home'), icon: Icons.home),
      TitledNavigationBarItem(title: Text('Search'), icon: Icons.search),
      TitledNavigationBarItem(title: Text('Bag'), icon: Icons.card_travel),
      TitledNavigationBarItem(title: Text('Orders'), icon: Icons.shopping_cart),
      TitledNavigationBarItem(title: Text('Profile'), icon: Icons.person_outline),
  ]
)

Customization (Optional)

TitledBottomNavigationBar

onTap - Use this to get notified when an 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!
curve - Use this to define your custom curve animation. 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.
currentIndex - Use this to update the Bar giving a position.
enableShadow - Use this to remove the NavigationBar's shadow

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].