ZwapComplexTutorialWidget class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ZwapComplexTutorialWidget
Constructors
-
ZwapComplexTutorialWidget({Key? key, required GlobalKey<
State< focusWidgetKey, required ZwapTutorialStepContent child, required int index, required int stepsCount, Widget focusWidgetWrapper(BuildContext context, Widget child)?, double? width, double? height, Color? backgroundColor, bool showBack = true, bool showEnd = false, dynamic onBack()?, dynamic onForward()?, dynamic onClose()?, bool showSkip = false, Offset overlayOffset = Offset.zero, GlobalKey<StatefulWidget> >State< ? blurRegion, DecorationDirection decorationDirection = DecorationDirection.top, double decorationTranslation = 0, bool log = false})StatefulWidget> > -
const
Properties
- backgroundColor → Color?
-
final
-
blurRegion
→ GlobalKey<
State< ?StatefulWidget> > -
If not null, the related widget will be used as constraints for the blurred region
final
- child → ZwapTutorialStepContent
-
final
- decorationDirection → DecorationDirection
-
final
- decorationTranslation → double
-
final
-
focusWidgetKey
→ GlobalKey<
State< StatefulWidget> > -
final
- focusWidgetWrapper → Widget Function(BuildContext context, Widget child)?
-
? Why: Usually some widgets depends on providers or inherited data that fail to be
retrived in a different context
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- index → int
-
The index of the current step
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- log → bool
-
If true some info are logged in the console
final
- onBack → dynamic Function()?
-
Called when "back" button is pressed
final
- onClose → dynamic Function()?
-
Called when the close icon is pressed
final
- onForward → dynamic Function()?
-
Called when "forward" (or "end" if showEnd is true) button is pressed
final
- overlayOffset → Offset
-
The translate offset of the overlay, if zero the overlay if in the bottom center of the focus widget
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showBack → bool
-
Is true a "back" button will be shown
final
- showEnd → bool
-
If true an "end" button will be shown instead of the "forward" button
final
- showSkip → bool
-
If true a close icon will be shown and user can finish the tutorial in this step
final
- stepsCount → int
-
The total flow steps count
final
- width → double?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ZwapComplexTutorialWidget> -
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, 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