InputBoxOptions constructor

InputBoxOptions({
  1. String? title,
  2. String? value,
  3. (num, num)? valueSelection,
  4. String? prompt,
  5. String? placeHolder,
  6. bool? password,
  7. bool? ignoreFocusOut,
  8. dynamic validateInput(
    1. String
    )?,
})

Implementation

factory InputBoxOptions({
  _i2.String? title,
  _i2.String? value,
  (
    _i2.num,
    _i2.num,
  )? valueSelection,
  _i2.String? prompt,
  _i2.String? placeHolder,
  _i2.bool? password,
  _i2.bool? ignoreFocusOut,
  _i2.dynamic Function(_i2.String)? validateInput,
}) =>
    InputBoxOptions._(
      title: title,
      value: value,
      valueSelection: valueSelection == null
          ? null
          : [
              valueSelection.$1,
              valueSelection.$2,
            ],
      prompt: prompt,
      placeHolder: placeHolder,
      password: password,
      ignoreFocusOut: ignoreFocusOut,
      validateInput:
          validateInput == null ? null : _i5.allowInterop(validateInput),
    );