StepperFormBlocBuilder<T extends FormBloc> class

Inheritance

Constructors

StepperFormBlocBuilder({Key? key, T? formBloc, required List<FormBlocStep> stepsBuilder(T? formBloc), ScrollPhysics? physics, StepperType type = StepperType.vertical, void onStepTapped(FormBloc? formBloc, int step)?, void onStepContinue(FormBloc? formBloc)?, void onStepCancel(FormBloc? formBloc)?, Widget controlsBuilder(BuildContext context, VoidCallback? onStepContinue, VoidCallback? onStepCancel, int step, FormBloc formBloc)?})
const

Properties

controlsBuilder → (Widget Function(BuildContext context, VoidCallback? onStepContinue, VoidCallback? onStepCancel, int step, FormBloc formBloc)?)
The callback for creating custom controls.
final
formBloc → T?
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onStepCancel → (void Function(FormBloc? formBloc)?)
The callback called when the 'cancel' button is tapped.
final
onStepContinue → (void Function(FormBloc? formBloc)?)
The callback called when the 'continue' button is tapped.
final
onStepTapped → (void Function(FormBloc? formBloc, int step)?)
The callback called when a step is tapped, with its index passed as an argument.
final
physics ScrollPhysics?
How the stepper's scroll view should respond to user input.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stepsBuilder List<FormBlocStep> Function(T? formBloc)
The steps of the stepper whose titles, subtitles, icons always get shown.
final
type StepperType
The type of stepper that determines the layout. In the case of StepperType.horizontal, the content of the current step is displayed underneath as opposed to the StepperType.vertical case where it is displayed in-between.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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