AntdTourStep class

提示的步骤 @l AntdTour

Inheritance

Constructors

AntdTourStep({Key? key, AntdTourStepStyle? style, AntdStyleBuilder<AntdTourStepStyle, AntdTourStep>? styleBuilder, required int index, required Widget child, AntdPlacement placement = AntdPlacement.bottom, Widget? title, Widget? description, bool skip = true, Widget skipBuilder(VoidCallback skip, int currentIndex, int total)?, Widget nextBuilder(VoidCallback next)?, Widget builder(Widget skip, Widget next)?, bool defaultOpen = false})
const

Properties

builder → Widget Function(Widget skip, Widget next)?
完全自定义底部操作区域的构建器 skip: 跳过按钮组件 next: 下一步按钮组件
final
child → Widget
需要被高亮显示的目标组件
final
defaultOpen → bool
默认打开
final
description → Widget?
步骤描述组件,显示在标题下方的主要内容区域
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
当前步骤的索引位置(从0开始)
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
nextBuilder → Widget Function(VoidCallback next)?
自定义下一步按钮的构建器 next: 下一步回调函数
final
placement → AntdPlacement
引导弹窗的显示位置
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skip → bool
当前是否允许跳过
final
skipBuilder → Widget Function(VoidCallback skip, int currentIndex, int total)?
自定义跳过按钮的构建器 skip: 跳过回调函数 currentIndex: 当前步骤索引 total: 总步骤数
final
style → AntdTourStepStyle?
样式
finalinherited
styleBuilder → AntdStyleBuilder<AntdTourStepStyle, AntdTourStep>?
动态样式
finalinherited
title → Widget?
步骤标题组件,显示在引导内容的顶部
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) → AntdTourStepStyle
override
getFinalStyle(BuildContext context, AntdTourStepStyle style, AntdMapToken token) → AntdTourStepStyle
inherited
getInputStyle(BuildContext context) → AntdTourStepStyle?
inherited
getStyle(BuildContext context) → AntdTourStepStyle
inherited
getStyleBuilder(BuildContext context) → AntdStyleBuilder<AntdTourStepStyle, AntdTourStep>?
inherited
getThemeStyle(BuildContext context, AntdTheme theme) → AntdStyleBuilder<AntdTourStepStyle, AntdTourStep>?
inherited
getWidget(BuildContext context) → AntdTourStep
override
margeStyle(AntdTourStepStyle defaultStyle, AntdTourStepStyle? style) → AntdTourStepStyle
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