MyHorizontalTabStackView class
- Inheritance
-
- Available extensions
Constructors
-
MyHorizontalTabStackView.new({Key? key, required List<Tab> tabs, required List<Widget> contents, double tabsHeight = 80, double tabsWidth = 200, Function? onSelectIdx, double indicatorWidth = 0.0, TextDirection direction = TextDirection.ltr, Color indicatorColor = Colors.transparent, bool disabledChangePageFromContentView = false, Axis contentScrollAxis = Axis.horizontal, Color selectedTabBackgroundColor = UIData.white, Color unselectedTabBackgroundColor = UIData.white, Color dividerColor = const Color(0xffe5e5e5), Curve changePageCurve = Curves.easeInOut, Duration changePageDuration = const Duration(milliseconds: 300), Color tabsShadowColor = Colors.black54, int initialIdx = 0, double tabsElevation = 1.0})
-
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
Static Methods
-
myHTab(String title, bool isCurrent, BuildContext context, {double tabWidth = 0.0, double tabHeight = 0.0, EdgeInsets? padding, double fontSize = 12.0, double indicatorH = 8.0, double? indicatorW, int titlesLen = 0, Color indicatorColor = UIData.accentColor, Color normalColor = UIData.textGN, bool hasVDivider = false})
→ Tab
-