FormStep<T> constructor
FormStep<T> ({
- Identifier? id,
- String? title,
- String? text,
- String? description,
- String? hint,
- UIStyle? style,
- String? error,
- bool disabled = false,
- double? width,
- CrossAxisAlignment crossAxisAlignmentContent = CrossAxisAlignment.center,
- Display display = Display.normal,
- bool componentOnly = false,
- bool? isOptional = false,
- bool? cancellable = true,
- String? label,
- ComponentsStyle componentsStyle = ComponentsStyle.minimal,
- String? nextButtonText = "Next",
- String? backButtonText = "Back",
- double? titleIconMaxWidth = 300,
- String? titleIconAnimationFile,
- List<
RelevantCondition> ? relevantConditions, - String? cancelButtonText = "Cancel",
- FormStep? previousStep,
- ResultFormat? resultFormat,
Implementation
FormStep(
{this.id,
this.title,
this.text,
this.description,
this.hint,
this.style,
this.error,
this.footerBackButton = false,
this.disabled = false,
this.width,
this.crossAxisAlignmentContent = CrossAxisAlignment.center,
this.display = Display.normal,
this.componentOnly = false,
this.isOptional = false,
this.cancellable = true,
this.label,
this.componentsStyle = ComponentsStyle.minimal,
this.nextButtonText = "Next",
this.backButtonText = "Back",
this.titleIconMaxWidth = 300,
this.titleIconAnimationFile,
this.relevantConditions,
this.cancelButtonText = "Cancel",
this.previousStep,
this.resultFormat}) {
id ??= StepIdentifier();
}