LocateTabScrollContainer class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- LocateTabScrollContainer
Constructors
-
LocateTabScrollContainer({required TabController tabController, required List<
GlobalKey< headerWidgetsKey, required GlobalKey<State< >StatefulWidget> >State< tabWidgetKey, required List<StatefulWidget> >GlobalKey< bodyWidgetsKey, required CustomScrollView child, Duration tabLocateDuration = const Duration(milliseconds: 200), Duration scrollViewLocateDuration = const Duration(milliseconds: 200), Key? key})State< >StatefulWidget> > -
const
Properties
-
bodyWidgetsKey
→ List<
GlobalKey< State< >StatefulWidget> > -
body widgets的 GlobalKey 集合
final
- child → CustomScrollView
-
包裹的child,需要是 CustomScrollView
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headerWidgetsKey
→ List<
GlobalKey< State< >StatefulWidget> > -
header widgets的 GlobalKey 集合
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
- scrollViewLocateDuration → Duration
-
TabBar点击时ScrollView的重定向时的滑动时间,默认值为200ms
final
- tabController → TabController
-
TabBar controller
final
- tabLocateDuration → Duration
-
ScrollView滑动时TabBar的重定向时的滑动时间,默认值为200ms
final
-
tabWidgetKey
→ GlobalKey<
State< StatefulWidget> > -
TabBar widget的 GlobalKey
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< LocateTabScrollContainer> -
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