Tab class
Represents a single tab within a TabView.
- Mixed in types
Constructors
Properties
- body → Widget
-
The body of the view attached to this tab
final
- closeIcon → IconData?
-
The close icon of the tab. Usually an IconButton widget
final
- disabled → bool
-
Whether the tab is disabled or not. If true, the tab will be greyed out
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
the IconSource to be displayed within the tab.
final
- key → Key?
-
final
- onClosed → VoidCallback?
-
Called when clicking x-to-close button or when thec
Ctrl + T
orCtrl + F4
is executedfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticLabel → String?
-
Semantic label for the input.
final
- text → Widget
-
The content that appears inside the tab strip to represent the tab.
final
Methods
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited