MultiScreenForm class
A multi screen form component that renders a screen for each config in state with a summary screen at the end.
Constructors
- MultiScreenForm({Key? key, required MultiScreenFormState state, required ScrollController scrollController, required VoidCallback rebuild, double spacing = 1, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 1), LogicalKey backButtonActivationKey = LogicalKey.space, LogicalKey nextButtonActivationKey = LogicalKey.space, VoidCallback? onSubmit, String? summaryDescription})
-
const
Properties
- backButtonActivationKey → LogicalKey
-
Activation key for the back button.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
finalinherited
- nextButtonActivationKey → LogicalKey
-
Activation key for the next button.
final
- onSubmit → VoidCallback?
-
Called when Enter is pressed while a text input is focused.
finalinherited
- padding → EdgeInsets
-
finalinherited
- rebuild → VoidCallback
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollController → ScrollController
-
finalinherited
- spacing → double
-
finalinherited
- state → MultiScreenFormState
-
State for multi screen form.
final
- summaryDescription → String?
-
Optional description for the summary screen.
final
Methods
-
build(
BuildContext context) → Component -
Describes the part of the user interface represented by this component.
override
-
createElement(
) → StatelessElement -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited