All Projects → tunitowen → Fancy_bottom_navigation

tunitowen / Fancy_bottom_navigation

Licence: apache-2.0
Flutter plugin - FancyBottomNavigation

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Fancy bottom navigation

react-native-tablets
Scaling React Native Apps for Tablets 🎉
Stars: ✭ 13 (-97.11%)
Mutual labels:  tabs
Zonote
Cross-platform desktop note-taking app. Sticky notes with Markdown and Tabs. All in one .txt file.
Stars: ✭ 255 (-43.33%)
Mutual labels:  tabs
Demoinfo
A library to analyze CS:GO demos in C#
Stars: ✭ 306 (-32%)
Mutual labels:  fancy
FancyTab
No description or website provided.
Stars: ✭ 15 (-96.67%)
Mutual labels:  tabs
tab-search
WebExtension for keyboard-accessible tab management
Stars: ✭ 102 (-77.33%)
Mutual labels:  tabs
Easy Toggle State
A tiny JavaScript library to easily toggle the state of any HTML element in any contexts, and create UI components in no time.
Stars: ✭ 261 (-42%)
Mutual labels:  tabs
yuanful-ui
(微信小程序插件) yuanful-ui是一套可添加到微信小程序内直接使用的免费功能插件,无需重复开发,为用户提供更丰富的服务。
Stars: ✭ 30 (-93.33%)
Mutual labels:  tabs
Sotabbar
Light way to add Fancy bottom bar 📲
Stars: ✭ 400 (-11.11%)
Mutual labels:  fancy
tiny-wheels
一套基于原生JavaScript开发的组件库,无依赖、体积小、简单易用
Stars: ✭ 60 (-86.67%)
Mutual labels:  tabs
React Native Pagination
Animated Pagination For React Native's ListView, FlatList, and SectionList
Stars: ✭ 296 (-34.22%)
Mutual labels:  tabs
Tabdown
Tabdown is an open mark-up language for text tabs & chords.
Stars: ✭ 49 (-89.11%)
Mutual labels:  tabs
Smart-Inspector
Fluent re-take on Unity Inspector UX. Packed with QoL improvements.
Stars: ✭ 680 (+51.11%)
Mutual labels:  tabs
Selectmenu
Simple, easily and diversity menu solution
Stars: ✭ 284 (-36.89%)
Mutual labels:  tabs
natural js
Natural-JS : Javascript Front-End Architecture Framework
Stars: ✭ 35 (-92.22%)
Mutual labels:  tabs
Sysend.js
Send messages between open pages or tabs in same browser
Stars: ✭ 347 (-22.89%)
Mutual labels:  tabs
printer
A fancy logger yet lightweight, and configurable. 🖨
Stars: ✭ 65 (-85.56%)
Mutual labels:  fancy
Fancy
Fancy is a dynamic, object-oriented programming language inspired by Smalltalk, Ruby, Io and Erlang that runs on the Rubinius VM.
Stars: ✭ 257 (-42.89%)
Mutual labels:  fancy
Tabby
Lightweight, accessible vanilla JS toggle tabs.
Stars: ✭ 449 (-0.22%)
Mutual labels:  tabs
Electron Tabs
Simple tabs for Electron applications
Stars: ✭ 350 (-22.22%)
Mutual labels:  tabs
Consola
Elegant Console Logger for Node.js and Browser 🐨
Stars: ✭ 3,461 (+669.11%)
Mutual labels:  fancy

FancyBottomNavigation

Fancy Gif

Getting Started

Add the plugin (pub coming soon):

dependencies:
  ...
  fancy_bottom_navigation: ^0.3.2

Limitations

For now this is limited to more than 1 tab, and less than 5. So 2-4 tabs.

Basic Usage

Adding the widget

bottomNavigationBar: FancyBottomNavigation(
    tabs: [
        TabData(iconData: Icons.home, title: "Home"),
        TabData(iconData: Icons.search, title: "Search"),
        TabData(iconData: Icons.shopping_cart, title: "Basket")
    ],
    onTabChangedListener: (position) {
        setState(() {
        currentPage = position;
        });
    },
)

TabData

iconData -> Icon to be used for the tab
title -> String to be used for the tab
onClick -> Optional function to be used when the circle itself is clicked, on an active tab

Attributes

required

tabs -> List of TabData objects
onTabChangedListener -> Function to handle a tap on a tab, receives int position

optional

initialSelection -> Defaults to 0
circleColor -> Defaults to null, derives from Theme
activeIconColor -> Defaults to null, derives from Theme
inactiveIconColor -> Defaults to null, derives from Theme
textColor -> Defaults to null, derives from Theme
barBackgroundColor -> Defaults to null, derives from Theme
key -> Defaults to null

Theming

The bar will attempt to use your current theme out of the box, however you may want to theme it. Here are the attributes:

Fancy Theming

Programmatic Selection

To select a tab programmatically you will need to assign a GlobalKey to the widget. When you want to change tabs you will need to access the State using this key, and then call setPage(position).
See example project, main.dart, line 75 for an example.

Showcase

Using this package in a live app, let me know and I'll add you app here.

Inspiration

This package was inspired by a design on dribbble by Manoj Rajput:
https://dribbble.com/shots/5419022-Tab

Contributing

Contributions are welcome, please submit a PR :)

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].