VTopTabBar class

Inheritance

Constructors

VTopTabBar.new({Key? key, required List<VTopTabBarModel> tabModelArr, required List<String> tabTitle, Color? bgColor, Color? labelColor = Colors.blue, Color? unselectedLabelColor = Colors.black, double tabHeight = 60.0, TextStyle? labelStyle, TextStyle? unselectedLabelStyle, Decoration? indicator, bool showCenterLine = false, Function? switchPageCallBack, double indicatorBottom = 5, int defaultIndex = 0, double indicatorWidth = 25, double labelSize = 14, double unselectLabelSize = 13, bool isScrollable = true, ValueChanged<int>? tabClick})
const

Properties

bgColor Color?
final
defaultIndex int
final
hashCode int
The hash code for this object.
no setterinherited
indicator Decoration?
final
indicatorBottom double
final
indicatorWidth double
final
isScrollable bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
labelColor Color?
final
labelSize double
final
labelStyle TextStyle?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCenterLine bool
final
switchPageCallBack Function?
final
tabClick ValueChanged<int>?
final
tabHeight double
final
tabModelArr List<VTopTabBarModel>
final
tabTitle List<String>
final
unselectedLabelColor Color?
final
unselectedLabelStyle TextStyle?
final
unselectLabelSize double
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _VTopTabBarState
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, int wrapWidth = 65}) 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