IntroStepTarget class
A widget that wraps the target widget for a step.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- IntroStepTarget
Constructors
- IntroStepTarget({Key? key, required int step, IntroStepWillActivateCallback? onStepWillActivate, IntroStepWillDeactivateCallback? onStepWillDeactivate, required IntroController controller, required TextSpan cardContents, IntroCardDecoration? cardDecoration, IntroHighlightDecoration? highlightDecoration, VoidCallback? onTargetLoad, VoidCallback? onTargetDispose, VoidCallback? onHighlightTap, required Widget child})
- IntroStepTarget.custom({Key? key, required int step, IntroStepWillActivateCallback? onStepWillActivate, IntroStepWillDeactivateCallback? onStepWillDeactivate, required IntroController controller, required IntroCardBuilder cardBuilder, IntroCardDecoration? cardDecoration, IntroHighlightDecoration? highlightDecoration, VoidCallback? onTargetLoad, VoidCallback? onTargetDispose, VoidCallback? onHighlightTap, required Widget child})
Properties
- cardBuilder → IntroCardBuilder
-
A builder to build the intro card widget.
final
- cardDecoration → IntroCardDecoration?
-
Decoration for intro card.
final
- child → Widget
-
The target widget will be warped.
final
- controller → IntroController
-
The controller of this demo flow.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightDecoration → IntroHighlightDecoration?
-
Decoration for highlighted widget.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onHighlightTap → VoidCallback?
-
It will be called when tap the highlighted widget.
final
- onStepWillActivate → IntroStepWillActivateCallback?
-
A callback that will be called when the demo flow reaches the current step.
final
- onStepWillDeactivate → IntroStepWillDeactivateCallback?
-
A callback that will be called when the demo flow leaves the current step.
final
- onTargetDispose → VoidCallback?
-
It will be called when the target widget was disposed.
final
- onTargetLoad → VoidCallback?
-
It will be called when the target widget was built.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- step → int
-
The code of target step.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< IntroStepTarget> -
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