MyUnflexHorizontalTabView class

Inheritance
Available extensions

Constructors

MyUnflexHorizontalTabView({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 = 0.0})

Properties

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
initialIdx → int
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
tabs → List<Tab>
final
tabsElevation → double
final
tabsHeight → 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

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