QuestionStep constructor
QuestionStep({
- Identifier? id,
- String? title = "",
- required InputType inputType,
- String? text,
- UIStyle? style,
- Display display = Display.normal,
- String? hint,
- SelectionType? selectionType,
- String? description,
- dynamic onFinish()?,
- int? lengthLimit,
- String? label,
- bool disabled = false,
- int count = 0,
- String? mask,
- int maxCount = 100,
- double? maxHeight = 600,
- List? filter,
- TextAlign textAlign = TextAlign.start,
- double? width,
- ComponentsStyle componentsStyle = ComponentsStyle.minimal,
- InputStyle inputStyle = InputStyle.basic,
- ResultFormat? resultFormat,
- dynamic onValidationError()?,
- bool? isOptional = false,
- List<
Options> ? options, - CrossAxisAlignment crossAxisAlignmentContent = CrossAxisAlignment.center,
- List<
RelevantCondition> ? relevantConditions, - bool? autoTrigger = false,
- int? numberOfLines,
- bool componentOnly = false,
- String? titleIconAnimationFile,
- String? nextButtonText = "Next",
- String? backButtonText = "Back",
- double? titleIconMaxWidth = 300,
- String? cancelButtonText = "Cancel",
- 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();