TabsWrap class

弹层组件

Inheritance

Constructors

TabsWrap({Widget? customBottomWidge, VoidCallback? btnTap1, String? btnTitle1, VoidCallback? btnTap2, String? btnTitle2, VoidCallback? btnTap3, String? btnTitle3, bool? hideBottom, bool? hideCustomTab = true, int? tabsInitIndex, List<CustomTabItem>? customTabs})

Properties

btnTap1 VoidCallback?
底部按钮1(开发) 点击事件
final
btnTap2 VoidCallback?
底部按钮2(调试) 点击事件
final
btnTap3 VoidCallback?
底部按钮3(生产) 点击事件
final
btnTitle1 String?
底部按钮1 标题,
final
btnTitle2 String?
底部按钮2 标题,
final
btnTitle3 String?
底部按钮3 标题,
final
customBottomWidge Widget?
自定义底部区域组件,如果定义此参数默认定义的底部组件不显示
final
customTabs List<CustomTabItem>?
自定义扩展tabs显示的组件
final
hashCode int
The hash code for this object.
no setterinherited
hideBottom bool?
是否隐藏底部区域块,当为ture隐藏时,bottomWidge自定义底部区域将无效
final
hideCustomTab bool?
是否隐藏自定义tabs栏,默认true隐藏
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabsInitIndex int?
每次弹窗口显示tabs页面
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _TabsWrapState
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