BrnHorizontalSteps class
描述: 横向步骤条,是一种常见的导航形式,它具有导航通用的属性:告知用户”我在哪/我能去哪“, 步骤数目就相当于告知用户--能去哪或者说流程将要经历什么。 通用组件步骤条分为三个状态:完成态/进行态/等待态,三种状态在样式上均加以区分 注意事项:横向步骤条内的步骤总数最多只支持5个
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BrnHorizontalSteps
- Available Extensions
Constructors
-
BrnHorizontalSteps({Key? key, required List<
BrunoStep> steps, BrnStepsController? controller, Widget? doingIcon, Widget? completedIcon}) -
const
Properties
- completedIcon → Widget?
-
自定义已完成状态的icon
final
- controller → BrnStepsController?
-
控制类
final
- doingIcon → Widget?
-
自定义正在进行状态的icon
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
-
steps
→ List<
BrunoStep> -
The steps of the stepper whose titles, subtitles, icons always get shown.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
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