WizardControllerImpl class
Methods
-
animateTo({required int index, Duration? delay, Duration duration = const Duration(milliseconds: 150), Curve curve = Curves.easeIn})
→ Future<void>
-
Animate to the step index. If the current step index equals the provided
step index nothing will happen.
override
-
disableGoBack(int index)
→ void
-
Disable the previous button for specified index.
override
-
disableGoNext(int index, {Duration duration = const Duration(milliseconds: 150), Curve curve = Curves.easeIn})
→ Future<void>
-
Disable the next button for specified index. When disabling an index that
is lower then the current index the
Wizard
will automatically animate
back to the provided index.
override
-
dispose()
→ void
-
Dispose the controller
override
-
enableGoBack(int? index)
→ void
-
Enable the previous button for specified index.
override
-
enableGoNext(int? index)
→ void
-
Enable the next button for specified index.
override
-
getIsAnimateToEnabled(int index)
→ bool
-
Indicates whether its allowed to animate to specified index.
override
-
getIsAnimateToEnabledStream(int index)
→ Stream<bool>
-
Stream whether its allowed to animate to specified index.
override
-
getIsGoBackEnabled()
→ bool
-
Indicates whether the back button currently is enabled for current index.
override
-
getIsGoBackEnabledStream()
→ Stream<bool>
-
Streams whether the back button is enabled for current index.
override
-
getIsGoNextEnabled()
→ bool
-
Indicates whether the next button currently is enabled for current index.
override
-
getIsGoNextEnabledStream([int? index])
→ Stream<bool>
-
Stream whether the next button is enabled for current index.
override
-
getStepIndex(WizardStep step)
→ int
-
Gets the index for the provided step.
override
-
isFirstStep(int index)
→ bool
-
Indicates whether the step index matches the first step.
override
-
isLastStep(int index)
→ bool
-
Indicates whether the step index matches the last step.
override
-
next({Duration? delay, Duration duration = const Duration(milliseconds: 150), Curve curve = Curves.easeIn})
→ Future<void>
-
Show the next step. If the current step equals the last step nothing will
happen.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
previous({Duration duration = const Duration(milliseconds: 150), Curve curve = Curves.easeIn})
→ Future<void>
-
Show the previous step. If current step equals the first step nothing
will happen.
override
-
toString()
→ String
-
A string representation of this object.
inherited