AutoCharacterNavigatorList class

一个使用极为简单的字母导航栏 A very simple alphabet navigation bar

Inheritance

Constructors

AutoCharacterNavigatorList({Key? key, required List<Widget> children, required List<String> childrenNavigator, AlphabetChildrenStyle? alphabetChildrenStyle, Position? alphabetChildrenPosition})

Properties

alphabetChildrenPosition Position?
这是非必填的属性 默认位置为组件右侧 定义导航组件的堆叠位置
final
alphabetChildrenStyle AlphabetChildrenStyle?
此参数包含导航组件的各项自定义属性 非必传参数
final
children List<Widget>
这是需要导航的内容 出于安全性及健壮性考虑:children的长度需要与childrenNavigator的长度一致 This is contents what needs to be navigated For safety and robustness: the length of children needs to be the same as the length of childrenNavigator
final
childrenNavigator List<String>
这是导航所使用的字符 出于安全性及健壮性考虑:childrenNavigator的长度需要与children的长度一致 This is the character used for navigation For safety and robustness: the length of childrenNavigator needs to be the same as the length of children
final
hashCode int
The hash code for this object.
no setterinherited
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

Methods

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