QuestionStep constructor

QuestionStep({
  1. Identifier? id,
  2. String? title = "",
  3. required InputType inputType,
  4. String? text,
  5. UIStyle? style,
  6. Display display = Display.normal,
  7. String? hint,
  8. bool footerBackButton = false,
  9. SelectionType? selectionType,
  10. String? description,
  11. dynamic onFinish(
    1. Map<String, dynamic>
    )?,
  12. int? lengthLimit,
  13. String? label,
  14. bool disabled = false,
  15. int count = 0,
  16. String? mask,
  17. int maxCount = 100,
  18. double? maxHeight = 600,
  19. List? filter,
  20. TextAlign textAlign = TextAlign.start,
  21. double? width,
  22. ComponentsStyle componentsStyle = ComponentsStyle.minimal,
  23. InputStyle inputStyle = InputStyle.basic,
  24. ResultFormat? resultFormat,
  25. dynamic onValidationError(
    1. String
    )?,
  26. bool? isOptional = false,
  27. List<Options>? options,
  28. CrossAxisAlignment crossAxisAlignmentContent = CrossAxisAlignment.center,
  29. List<RelevantCondition>? relevantConditions,
  30. bool? autoTrigger = false,
  31. int? numberOfLines,
  32. bool componentOnly = false,
  33. String? titleIconAnimationFile,
  34. String? nextButtonText = "Next",
  35. String? backButtonText = "Back",
  36. double? titleIconMaxWidth = 300,
  37. String? cancelButtonText = "Cancel",
  38. bool? cancellable = true,
})

Implementation

QuestionStep(
    {super.id,
    super.title = "",
    required this.inputType,
    super.text,
    super.style,
    super.display,
    super.hint,
    super.footerBackButton,
    this.selectionType,
    super.description,
    this.onFinish,
    this.lengthLimit,
    super.label,
    super.disabled,
    this.count = 0,
    this.mask,
    this.maxCount = 100,
    this.maxHeight = 600,
    this.filter,
    this.textAlign = TextAlign.start,
    super.width,
    super.componentsStyle = ComponentsStyle.minimal,
    this.inputStyle = InputStyle.basic,
    super.resultFormat,
    this.onValidationError,
    super.isOptional = false,
    this.options,
    super.crossAxisAlignmentContent,
    super.relevantConditions,
    this.autoTrigger = false,
    this.numberOfLines,
    super.componentOnly,
    super.titleIconAnimationFile,
    super.nextButtonText,
    super.backButtonText,
    super.titleIconMaxWidth,
    super.cancelButtonText,
    super.cancellable})
    : super();