BaseNativeTabBarItemKey class

Metadata for converting BottomNavigationBarItem to CNTabBarItem

Use this to specify SF Symbol names for native iOS tab bar integration when using BaseTabBar with useNativeCupertinoTabBar enabled.

Example:

BottomNavigationBarItem(
  icon: Icon(Icons.home, key: BaseNativeTabBarItemKey('house.fill')),
  label: 'Home',
)
Inheritance

Constructors

BaseNativeTabBarItemKey(String sfSymbolName)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sfSymbolName → String
The SF Symbol name to use for the native iOS tab bar
no setter
value → String
The value to which this key delegates its operator==.
finalinherited

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