TabItem class
Constructors
-
TabItem({required Widget title, required void onTap()?, Widget? subTitle, Widget? selectedLeadingIcon, Widget? unSelectedLeadingIcon, Widget? trailingIcon, Widget? tab, int? badgeCount = 0, Color? color, bool useTIOnTap = false, List<TabItem>? children = const []})
-
const
Properties
-
badgeCount
→ int?
-
Will show a badge count on top of tabbar item, to enable make showBadge true.
final
-
children
→ List<TabItem>?
-
Sub children which will be seen when expanded
final
-
color
→ Color?
-
Associated Color.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
onTap
→ void Function()?
-
onTap on tabItem will only work when itemChild list is empty, as itemChild will have their own onTap to work
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedLeadingIcon
→ Widget?
-
Will show for leading selected icon
final
-
subTitle
→ Widget?
-
SubTitle for the tabItem
final
-
tab
→ Widget?
-
The widget corresponding to the tab item
final
-
title
→ Widget
-
Title for the tabItem
final
-
trailingIcon
→ Widget?
-
Trailing widget for the tabItem
final
-
unSelectedLeadingIcon
→ Widget?
-
Will show for leading unselected icon
final
-
useTIOnTap
→ bool
-
With true value the function provided for onTap will be called when clicked on the tab,
if false then the default tab change function will be called.
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