FlashyTabBarItem class

A single tab in the FlashyTabBar. A tab has a title and an icon. The title is displayed when the item is not selected. The icon is displayed when the item is selected. Tabs are always used in conjunction with a FlashyTabBar.

Constructors

FlashyTabBarItem({required Widget icon, required Widget title, Color activeColor = const Color(0xff272e81), Color inactiveColor = const Color(0xff9496c1)})

Properties

activeColor Color
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon Widget
final
inactiveColor Color
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title Widget
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited