Options class

Annotations
  • @JS()
  • @anonymous

Constructors

Options({String placeholder = '_', Marker? optionalmarker, Marker? quantifiermarker, Marker? groupmarker, Marker? alternatormarker, String? escapeChar, String? mask, String? regex, void oncleared(Object)?, void oncomplete(Object)?, void onincomplete(Object)?, int? repeat, bool greedy = false, bool autoUnmask = false, bool removeMaskOnSubmit = false, bool clearMaskOnLostFocus = true, bool insertMode = true, bool? clearIncomplete, String? alias, void onKeyDown(KeyboardEvent event, String buffer, int caretPos, dynamic opts)?, String onBeforeMask(String initialValue, dynamic opts)?, String onBeforePaste(String initialValue, dynamic opts)?, dynamic onBeforeWrite(KeyboardEvent event, String buffer, int caretPos, dynamic opts)?, String onUnMask(String maskedValue, String unmaskedValue)?, bool showMaskOnFocus = true, bool showMaskOnHover = false, void onKeyValidation(int key, dynamic result)?, bool rightAlign = false, bool undoOnEscape = true, String? radixPoint, String? groupSeparator, bool? keepStatic, bool positionCaretOnTab = true, bool tabThrough = false, Definitions? definitions, bool? isComplete(String buffer, dynamic opts)?, dynamic postValidation(List buffer, int pos, dynamic c, dynamic currentResult, dynamic opts, dynamic maskset, bool strict, dynamic fromCheckval)?, dynamic preValidation(String buffer, int pos, String char, bool isSelection, dynamic opts, dynamic maskset, int caretPos, bool strict), String? staticDefinitionSymbol, bool nullable = true, bool noValuePatching = false, String positionCaretOnClick = 'lvp', dynamic casing, String inputmode = 'text', bool importDataAttributes = true, bool shiftPositions = true, bool usePrototypeDefinitions = true, int validationEventTimeOut = 3000, dynamic substitutes, String? prefix, int? digits, String disablePredictiveText = 'rtfm', bool numericInput = false})
factory

Properties

alias String
no setter
clearMaskOnLostFocus bool
no setter
definitions Definitions
no setter
digits int
no setter
disablePredictiveText String
no setter
hashCode int
The hash code for this object.
no setterinherited
insertMode bool
no setter
mask String
no setter
oncleared → void Function(Object)
no setter
oncomplete → void Function(Object)
no setter
onincomplete → void Function(Object)
no setter
prefix String
no setter
radixPoint String
no setter
rightAlign bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showMaskOnHover String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited