NoviceGuide class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- NoviceGuide
Constructors
- NoviceGuide({Key? key, required int count, required GuideStepBuilder builder, required NoviceGuideController controller, EdgeInsetsGeometry? targetPadding, Widget? skipWidget, AlignmentGeometry skipAlign = Alignment.topRight, EdgeInsetsGeometry? skipMargin, Color? maskColor, Duration animationDuration = const Duration(milliseconds: 300), FocusAnimationType animationType = FocusAnimationType.targetCenter, Curve animationCurve = Curves.fastOutSlowIn, bool pulseEnable = true, bool rootOverlay = false, VoidCallback? onFinish, bool autoStart = true, Duration? autoStartDelay = const Duration(milliseconds: 300)})
-
const
Properties
- animationCurve → Curve
-
預設FocusTarget.animationCurve鎖定動畫差值器
final
- animationDuration → Duration
-
預設FocusTarget.animationDuration鎖定target時的動畫時間
final
- animationType → FocusAnimationType
-
預設FocusTarget.animationType鎖定目標的方式
final
- autoStart → bool
-
是否自動開始第一個步驟
final
- autoStartDelay → Duration?
-
自動開始延遲時間
final
- builder → GuideStepBuilder
-
步驟構建
final
- controller → NoviceGuideController
-
final
- count → int
-
共有多少步驟
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maskColor → Color?
-
預設
FocusTarget.maskColor
顏色遮罩final - onFinish → VoidCallback?
-
流程結束
final
- pulseEnable → bool
-
final
- rootOverlay → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipAlign → AlignmentGeometry
-
預設
FocusTarget.skipAlign
final - skipMargin → EdgeInsetsGeometry?
-
預設
FocusTarget.skipMargin
final - skipWidget → Widget?
-
預設
FocusTarget.skip
final - targetPadding → EdgeInsetsGeometry?
-
預設FocusTarget.targetPadding
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< NoviceGuide> -
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