AntdSteps class

@t 步骤条 @g 信息展示 @o 78 @d 引导用户按照流程完成任务的导航条。 @u 当任务复杂或者存在先后关系时,将其分解成一系列步骤,从而简化任务。

Inheritance

Constructors

AntdSteps({Key? key, AntdStepsStyle? style, AntdStyleBuilder<AntdStepsStyle, AntdSteps>? styleBuilder, int current = 0, bool vertical = false, required List<AntdStep> steps})
const

Properties

current → int
指定当前步骤,从 0 开始记数。在子 Step 元素中,可以通过 status 属性覆盖状态
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<AntdStep>
步骤
final
style → AntdStepsStyle?
样式
finalinherited
styleBuilder → AntdStyleBuilder<AntdStepsStyle, AntdSteps>?
动态样式
finalinherited
vertical → bool
指定步骤条方向。目前支持水平(horizontal)和竖直(vertical)两种方向
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
getDefaultStyle(BuildContext context, AntdTheme theme, AntdMapToken token) → AntdStepsStyle
override
getFinalStyle(BuildContext context, AntdStepsStyle style, AntdMapToken token) → AntdStepsStyle
inherited
getInputStyle(BuildContext context) → AntdStepsStyle?
inherited
getStyle(BuildContext context) → AntdStepsStyle
inherited
getStyleBuilder(BuildContext context) → AntdStyleBuilder<AntdStepsStyle, AntdSteps>?
inherited
getThemeStyle(BuildContext context, AntdTheme theme) → AntdStyleBuilder<AntdStepsStyle, AntdSteps>?
override
getWidget(BuildContext context) → AntdSteps
override
margeStyle(AntdStepsStyle defaultStyle, AntdStepsStyle? style) → AntdStepsStyle
override
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