Constructor
new(?data:Dynamic, index:Int = -1, selected:Bool = false, ?text:String)
Creates a new TabBarItemState
object with the given arguments.
Available since
1.0.0
.Variables
index:Int = -1
The position of the data within the collection used as the TabBar
data provider.
Available since
1.0.0
.text:String
Returns the text to display for the item, as returned by the function
TabBar.itemToText
.
Available since
1.0.0
.See also: