FormStep<T> constructor

FormStep<T>({
  1. Identifier? id,
  2. String? title,
  3. String? text,
  4. String? description,
  5. String? hint,
  6. UIStyle? style,
  7. String? error,
  8. bool footerBackButton = false,
  9. bool disabled = false,
  10. double? width,
  11. CrossAxisAlignment crossAxisAlignmentContent = CrossAxisAlignment.center,
  12. Display display = Display.normal,
  13. bool componentOnly = false,
  14. bool? isOptional = false,
  15. bool? cancellable = true,
  16. String? label,
  17. ComponentsStyle componentsStyle = ComponentsStyle.minimal,
  18. String? nextButtonText = "Next",
  19. String? backButtonText = "Back",
  20. double? titleIconMaxWidth = 300,
  21. String? titleIconAnimationFile,
  22. List<RelevantCondition>? relevantConditions,
  23. String? cancelButtonText = "Cancel",
  24. FormStep? previousStep,
  25. 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();
}