DirtTabItem<T> class
Constructors
-
DirtTabItem({String? title, required T icon, required dynamic onTap(int index), T? activeIcon, bool? isIconBlend})
-
Create item
const
Properties
-
activeIcon
→ T?
-
Optional if not provided ,icon is used.
final
-
blend
→ bool
-
Whether icon should blend with color.
If icon is instance of IconData then blend is default to true, otherwise false
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
icon
→ T
-
final
-
onTap
→ dynamic Function(int index)
-
OntTap Function
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
title
→ String?
-
Tab text.
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