Options constructor

Options({
  1. String? placeholder,
  2. Object? optionalmarker,
  3. Object? quantifiermarker,
  4. Object? groupmarker,
  5. String? alternatormarker,
  6. String? escapeChar,
  7. dynamic mask,
  8. String? regex,
  9. void oncomplete()?,
  10. void onincomplete()?,
  11. void oncleared()?,
  12. dynamic repeat,
  13. bool? greedy,
  14. bool? autoUnmask,
  15. bool? removeMaskOnSubmit,
  16. bool? clearMaskOnLostFocus,
  17. bool? insertMode,
  18. bool? insertModeVisual,
  19. bool? clearIncomplete,
  20. String? alias,
  21. void onKeyDown(
    1. KeyboardEvent,
    2. List<String>,
    3. dynamic,
    4. Options,
    )?,
  22. String onBeforeMask(
    1. String,
    2. Options
    )?,
  23. String onBeforePaste(
    1. String,
    2. Options
    )?,
  24. CommandObject onBeforeWrite(
    1. KeyboardEvent,
    2. List<String>,
    3. num,
    4. Options,
    )?,
  25. String onUnMask(
    1. String,
    2. String
    )?,
  26. bool? showMaskOnFocus,
  27. bool? showMaskOnHover,
  28. void onKeyValidation(
    1. num,
    2. bool
    )?,
  29. String? skipOptionalPartCharacter,
  30. bool? numericInput,
  31. bool? rightAlign,
  32. bool? undoOnEscape,
  33. String? radixPoint,
  34. String? groupSeparator,
  35. bool? keepStatic,
  36. bool? positionCaretOnTab,
  37. bool? tabThrough,
  38. List<String>? supportsInputType,
  39. List<num>? ignorables,
  40. bool isComplete(
    1. List<String>,
    2. Options
    )?,
  41. Object postValidation(
    1. List<String>,
    2. num,
    3. String,
    4. bool,
    5. Options,
    6. bool,
    7. bool, [
    8. dynamic,
    ])?,
  42. Object preValidation(
    1. List<String>,
    2. num,
    3. String,
    4. bool,
    5. Options,
    6. dynamic,
    7. bool, [
    8. dynamic,
    ])?,
  43. String? staticDefinitionSymbol,
  44. bool? jitMasking,
  45. bool? nullable,
  46. bool? noValuePatching,
  47. PositionCaretOnClick? positionCaretOnClick,
  48. Casing? casing,
  49. InputMode? inputmode,
  50. bool? importDataAttributes,
  51. bool? shiftPositions,
  52. bool? usePrototypeDefinitions,
  53. dynamic min,
  54. dynamic max,
  55. dynamic digits,
  56. bool? digitsOptional,
  57. bool? enforceDigitsOnBlur,
  58. bool? allowMinus,
  59. IInline3? negationSymbol,
  60. String? prefix,
  61. String? suffix,
  62. bool? setMaxOnOverflow,
  63. num? step,
  64. bool? unmaskAsNumber,
  65. InputType? inputType,
  66. num roundingFN(
    1. num
    )?,
  67. Object? shortcuts,
  68. String? inputFormat,
  69. String? outputFormat,
  70. String? displayFormat,
  71. Object? definitions,
  72. bool? prefillYear,
})

Implementation

factory Options({
  _i2.String? placeholder,
  _i2.Object? optionalmarker,
  _i2.Object? quantifiermarker,
  _i2.Object? groupmarker,
  _i2.String? alternatormarker,
  _i2.String? escapeChar,
  _i2.dynamic mask,
  _i2.String? regex,
  void Function()? oncomplete,
  void Function()? onincomplete,
  void Function()? oncleared,
  _i2.dynamic repeat,
  _i2.bool? greedy,
  _i2.bool? autoUnmask,
  _i2.bool? removeMaskOnSubmit,
  _i2.bool? clearMaskOnLostFocus,
  _i2.bool? insertMode,
  _i2.bool? insertModeVisual,
  _i2.bool? clearIncomplete,
  _i2.String? alias,
  void Function(
    _i5.KeyboardEvent,
    _i2.List<_i2.String>,
    _i2.dynamic,
    _i3.Options,
  )? onKeyDown,
  _i2.String Function(
    _i2.String,
    _i3.Options,
  )? onBeforeMask,
  _i2.String Function(
    _i2.String,
    _i3.Options,
  )? onBeforePaste,
  _i3.CommandObject Function(
    _i5.KeyboardEvent,
    _i2.List<_i2.String>,
    _i2.num,
    _i3.Options,
  )? onBeforeWrite,
  _i2.String Function(
    _i2.String,
    _i2.String,
  )? onUnMask,
  _i2.bool? showMaskOnFocus,
  _i2.bool? showMaskOnHover,
  void Function(
    _i2.num,
    _i2.bool,
  )? onKeyValidation,
  _i2.String? skipOptionalPartCharacter,
  _i2.bool? numericInput,
  _i2.bool? rightAlign,
  _i2.bool? undoOnEscape,
  _i2.String? radixPoint,
  _i2.String? groupSeparator,
  _i2.bool? keepStatic,
  _i2.bool? positionCaretOnTab,
  _i2.bool? tabThrough,
  _i2.List<_i2.String>? supportsInputType,
  _i2.List<_i2.num>? ignorables,
  _i2.bool Function(
    _i2.List<_i2.String>,
    _i3.Options,
  )? isComplete,
  _i2.Object Function(
    _i2.List<_i2.String>,
    _i2.num,
    _i2.String,
    _i2.bool,
    _i3.Options,
    _i2.bool,
    _i2.bool, [
    _i2.dynamic,
  ])? postValidation,
  _i2.Object Function(
    _i2.List<_i2.String>,
    _i2.num,
    _i2.String,
    _i2.bool,
    _i3.Options,
    _i2.dynamic,
    _i2.bool, [
    _i2.dynamic,
  ])? preValidation,
  _i2.String? staticDefinitionSymbol,
  _i2.bool? jitMasking,
  _i2.bool? nullable,
  _i2.bool? noValuePatching,
  _i3.PositionCaretOnClick? positionCaretOnClick,
  _i3.Casing? casing,
  _i3.InputMode? inputmode,
  _i2.bool? importDataAttributes,
  _i2.bool? shiftPositions,
  _i2.bool? usePrototypeDefinitions,
  _i2.dynamic min,
  _i2.dynamic max,
  _i2.dynamic digits,
  _i2.bool? digitsOptional,
  _i2.bool? enforceDigitsOnBlur,
  _i2.bool? allowMinus,
  _i3.IInline3? negationSymbol,
  _i2.String? prefix,
  _i2.String? suffix,
  _i2.bool? setMaxOnOverflow,
  _i2.num? step,
  _i2.bool? unmaskAsNumber,
  _i3.InputType? inputType,
  _i2.num Function(_i2.num)? roundingFN,
  _i2.Object? shortcuts,
  _i2.String? inputFormat,
  _i2.String? outputFormat,
  _i2.String? displayFormat,
  _i2.Object? definitions,
  _i2.bool? prefillYear,
}) =>
    Options._(
      placeholder: placeholder ?? _i6.undefined,
      optionalmarker: optionalmarker ?? _i6.undefined ?? _i6.undefined,
      quantifiermarker: quantifiermarker ?? _i6.undefined ?? _i6.undefined,
      groupmarker: groupmarker ?? _i6.undefined ?? _i6.undefined,
      alternatormarker: alternatormarker ?? _i6.undefined,
      escapeChar: escapeChar ?? _i6.undefined,
      mask: mask,
      regex: regex ?? _i6.undefined,
      oncomplete:
          oncomplete == null ? _i6.undefined : _i4.allowInterop(oncomplete),
      onincomplete: onincomplete == null
          ? _i6.undefined
          : _i4.allowInterop(onincomplete),
      oncleared:
          oncleared == null ? _i6.undefined : _i4.allowInterop(oncleared),
      repeat: repeat,
      greedy: greedy ?? _i6.undefined,
      autoUnmask: autoUnmask ?? _i6.undefined,
      removeMaskOnSubmit: removeMaskOnSubmit ?? _i6.undefined,
      clearMaskOnLostFocus: clearMaskOnLostFocus ?? _i6.undefined,
      insertMode: insertMode ?? _i6.undefined,
      insertModeVisual: insertModeVisual ?? _i6.undefined,
      clearIncomplete: clearIncomplete ?? _i6.undefined,
      alias: alias ?? _i6.undefined,
      onKeyDown:
          onKeyDown == null ? _i6.undefined : _i4.allowInterop(onKeyDown),
      onBeforeMask: onBeforeMask == null
          ? _i6.undefined
          : _i4.allowInterop(onBeforeMask),
      onBeforePaste: onBeforePaste == null
          ? _i6.undefined
          : _i4.allowInterop(onBeforePaste),
      onBeforeWrite: onBeforeWrite == null
          ? _i6.undefined
          : _i4.allowInterop(onBeforeWrite),
      onUnMask: onUnMask == null ? _i6.undefined : _i4.allowInterop(onUnMask),
      showMaskOnFocus: showMaskOnFocus ?? _i6.undefined,
      showMaskOnHover: showMaskOnHover ?? _i6.undefined,
      onKeyValidation: onKeyValidation == null
          ? _i6.undefined
          : _i4.allowInterop(onKeyValidation),
      skipOptionalPartCharacter: skipOptionalPartCharacter ?? _i6.undefined,
      numericInput: numericInput ?? _i6.undefined,
      rightAlign: rightAlign ?? _i6.undefined,
      undoOnEscape: undoOnEscape ?? _i6.undefined,
      radixPoint: radixPoint ?? _i6.undefined,
      groupSeparator: groupSeparator ?? _i6.undefined,
      keepStatic: keepStatic ?? _i6.undefined,
      positionCaretOnTab: positionCaretOnTab ?? _i6.undefined,
      tabThrough: tabThrough ?? _i6.undefined,
      supportsInputType: supportsInputType ?? _i6.undefined,
      ignorables: ignorables ?? _i6.undefined,
      isComplete:
          isComplete == null ? _i6.undefined : _i4.allowInterop(isComplete),
      postValidation: postValidation == null
          ? _i6.undefined
          : _i4.allowInterop(postValidation),
      preValidation: preValidation == null
          ? _i6.undefined
          : _i4.allowInterop(preValidation),
      staticDefinitionSymbol: staticDefinitionSymbol ?? _i6.undefined,
      jitMasking: jitMasking ?? _i6.undefined,
      nullable: nullable ?? _i6.undefined,
      noValuePatching: noValuePatching ?? _i6.undefined,
      positionCaretOnClick:
          positionCaretOnClick?.name ?? _i6.undefined ?? _i6.undefined,
      casing: casing?.name ?? _i6.undefined ?? _i6.undefined,
      inputmode: inputmode?.name ?? _i6.undefined ?? _i6.undefined,
      importDataAttributes: importDataAttributes ?? _i6.undefined,
      shiftPositions: shiftPositions ?? _i6.undefined,
      usePrototypeDefinitions: usePrototypeDefinitions ?? _i6.undefined,
      min: min,
      max: max,
      digits: digits,
      digitsOptional: digitsOptional ?? _i6.undefined,
      enforceDigitsOnBlur: enforceDigitsOnBlur ?? _i6.undefined,
      allowMinus: allowMinus ?? _i6.undefined,
      negationSymbol: negationSymbol ?? _i6.undefined,
      prefix: prefix ?? _i6.undefined,
      suffix: suffix ?? _i6.undefined,
      setMaxOnOverflow: setMaxOnOverflow ?? _i6.undefined,
      step: step ?? _i6.undefined,
      unmaskAsNumber: unmaskAsNumber ?? _i6.undefined,
      inputType: inputType?.name ?? _i6.undefined,
      roundingFN:
          roundingFN == null ? _i6.undefined : _i4.allowInterop(roundingFN),
      shortcuts: shortcuts ?? _i6.undefined,
      inputFormat: inputFormat ?? _i6.undefined,
      outputFormat: outputFormat ?? _i6.undefined,
      displayFormat: displayFormat ?? _i6.undefined,
      definitions: definitions ?? _i6.undefined,
      prefillYear: prefillYear ?? _i6.undefined,
    );