MyVerticalTwoDimensionTab class

Inheritance
Available extensions

Constructors

MyVerticalTwoDimensionTab({Key? key, required List<Tab> tabs, required List<Widget> contents, double tabsWidth = 200, double itemExtent = 50, Function? onSelectIdx, double indicatorWidth = 3, TextDirection direction = TextDirection.ltr, Color indicatorColor = Colors.green, bool disabledChangePageFromContentView = false, Axis contentScrollAxis = Axis.horizontal, Color selectedTabBackgroundColor = const Color(0x1100ff00), Color unselectedTabBackgroundColor = const Color(0xfff8f8f8), Color dividerColor = const Color(0xffe5e5e5), Curve changePageCurve = Curves.easeInOut, Duration changePageDuration = const Duration(milliseconds: 300), Color tabsShadowColor = Colors.black54, double tabsElevation = 2.0, Color? bgColor, List<MyVerticalTwoDimensionBean>? tabBeanList})

Properties

bgColor → Color?
final
changePageCurve → Curve
final
changePageDuration → Duration
final
contents → List<Widget>
final
contentScrollAxis → Axis
final
direction → TextDirection
final
disabledChangePageFromContentView → bool
final
dividerColor → Color
final
hashCode → int
The hash code for this object.
no setterinherited
indicatorColor → Color
final
indicatorWidth → double
final
itemExtent → double
final
key → Key?
Controls how one widget replaces another widget in the tree.
final
onSelectIdx → Function?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedTabBackgroundColor → Color
final
tabBeanList → List<MyVerticalTwoDimensionBean>?
final
tabs → List<Tab>
final
tabsElevation → double
final
tabsShadowColor → Color
final
tabsWidth → double
final
unselectedTabBackgroundColor → Color
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _VerticalTabsState
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
go(BuildContext context, {WidgetBuilder? wb, bool replace = false}) → void

Available on Widget, provided by the mxWidget extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
routeName() → String

Available on Widget, provided by the mxWidget extension

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
xAppBarMake(double h) → Widget

Available on Widget, provided by the mxWidget extension

xGestureTouchContainer(bool enable, {GestureTapCallback? onTap, GestureCancelCallback? onLongTap}) → Widget

Available on Widget, provided by the mxWidget extension

xInputContainer() → InputTouchContainer

Available on Widget, provided by the mxWidget extension

xLoadingContainer(bool b, {required Widget loadingView}) → Widget

Available on Widget, provided by the mxWidget extension

xNoneTouchContainer(bool enable) → Widget

Available on Widget, provided by the mxWidget extension

xOnPopWrapper(bool canPop, {required void onPop(bool didPop, dynamic data)?}) → Widget

Available on Widget, provided by the mxWidget extension

xOnTap(Function onTap, {bool enable = true, bool withContainer = false, int cd = 800}) → Widget

Available on Widget, provided by the mxWidget extension

xSafeContainer(bool enable) → Widget

Available on Widget, provided by the mxWidget extension

xVisible(bool b) → Widget

Available on Widget, provided by the mxWidget extension

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

myVTab(String title, bool isCurrent, BuildContext context, {Color indicatorColor = UIData.primaryColor, Color titleNColor = UIData.black, num indicatorH = 100, num indicatorW = 8, Color unselectedTabBackgroundColor = UIData.pureWhite, Color selectedTabBackgroundColor = UIData.pureWhite, MyVerticalTwoDimensionBean? data, Function? selectPage}) → Tab