LiTextMaskConfig class

Immutable configuration object for LiTextMaskDirective.

Constructors

LiTextMaskConfig({String mask = 'xxx.xxx.xxx-xx', int maxLength = 14, bool eager = true, String escapeCharacter = r'\'})
LiTextMaskConfig.fromMask(String mask, {bool eager = true, String escapeCharacter = r'\'})
Creates a configuration from the legacy string-only mask API.

Properties

eager → bool
Whether literals are inserted as soon as their preceding token group is complete.
final
escapeCharacter → String
Character used to escape editable token characters in mask.
final
hashCode → int
The hash code for this object.
no setterinherited
mask → String
Mask pattern consumed by InteractiveTextMask.
final
maxLength → int
Kept for compatibility with previous configuration maps.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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