Date422Formatter class

Date input formatter supports 4 digits year, 2 digits day or month and 2 digits month or day.

Inheritance

Constructors

Date422Formatter(String separator)

Properties

firstSeparatorIndex int
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondSeparatorIndex int
no setteroverride

Methods

completeDigits(int number, {required int digits}) String
Complete number digits.
inherited
format(String dateWithoutSeparator) String
Format input.
inherited
formatEditUpdate(TextEditingValue oldValue, TextEditingValue newValue) TextEditingValue
Called when text is being typed or cut/copy/pasted in the EditableText.
inherited
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