ThemedTab class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- ThemedTab
Constructors
- ThemedTab({Key? key, String? labelText, Widget? label, double iconSize = 30, Widget? leading, IconData? leadingIcon, Widget? trailing, IconData? trailingIcon, EdgeInsets padding = const EdgeInsets.all(10), Color? color, Widget child = const SizedBox()})
-
ThemedTab is a tab for the TabBar widget
const
Properties
- child → Widget
-
child is the child of the tab
This information is only used when the tab is a child of a ThemedTabView
final
- color → Color?
-
color is the color of the tab
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconSize → double
-
iconSize is the size of the icon
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → Widget?
-
label is the label widget of the input.
Avoid submit label and labelText at the same time.
final
- labelText → String?
-
labelText is the label text of the input.
Avoid submit label and labelText at the same time.
final
- leading → Widget?
-
leading is the widget to be displayed before the labelText or label
Avoid using leading and leadingIcon together
final
- leadingIcon → IconData?
-
leadingIcon is the icon to be displayed before the labelText or label
Avoid using leading and leadingIcon together
final
- padding → EdgeInsets
-
padding is the Padding of the tab
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trailing → Widget?
-
trailing is the widget to be displayed after the labelText or label
Avoid using trailing and trailingIcon together
final
- trailingIcon → IconData?
-
trailingIcon is the icon to be displayed after the labelText or label
Avoid using trailing and trailingIcon together
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
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
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited