Tabs class

Inheritance

Constructors

Tabs({Key? key, Widget? addIcon, bool animated = true, bool centered = false, required List<TabPane> children, TabsController? controller, bool hideAdd = false, Widget? moreIcon, Widget renderTabBar()?, Size size = Size.medium, Widget? tabBarExtraContent, double? tabBarGutter, Placement tabPosition = Placement.top, bool destroyInactiveTab = false, TabsType type = TabsType.line, void onChange(String activeKey)?, void onEdit()?, void onTabClick(String key)?, void onTabScroll()?})
const

Properties

addIcon Widget?
final
animated bool
final
centered bool
final
children List<TabPane>
final
controller TabsController?
final
destroyInactiveTab bool
final
hashCode int
The hash code for this object.
no setterinherited
hideAdd bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
moreIcon Widget?
final
onChange → (void Function(String activeKey)?)
final
onEdit → (void Function()?)
final
onTabClick → (void Function(String key)?)
final
onTabScroll → (void Function()?)
final
renderTabBar → (Widget Function()?)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
final
tabBarExtraContent Widget?
final
tabBarGutter double?
final
tabPosition Placement
final
type TabsType
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<Tabs>
Creates the mutable state for this widget at a given location in the tree.
override
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