CNTab class
Configuration for a native tab in CNTabBarNative.
Each tab can have a title, SF Symbol icon, and optionally be marked as a search tab.
Example:
CNTab(
title: 'Home',
sfSymbol: CNSymbol('house.fill'),
)
Constructors
Properties
- activeSfSymbol → CNSymbol?
-
SF Symbol for the tab icon (selected state)
If not provided, uses sfSymbol
final
- badgeCount → int?
-
Badge count to display on the tab
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSearchTab → bool
-
Whether this tab is a search tab
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sfSymbol → CNSymbol?
-
SF Symbol for the tab icon (unselected state)
final
- title → String
-
The title of the tab (shown below icon)
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