DecimalValidator class

Inheritance

Constructors

DecimalValidator(int precision, {String decimalSeparator = ',', String thousandSeparator = '.'})

Properties

decimalSeparator String
final
hashCode int
The hash code for this object.
no setterinherited
inputFormatters List<TextInputFormatter>?
finalinherited
keyboard TextInputType
no setteroverride
precision int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thousandSeparator String
final

Methods

format(Decimal decimal) String
override
isValid(String value) bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String? value) Decimal?
override
strip(String value) String
override
toString() String
A string representation of this object.
inherited
valid(String value) String?
override

Operators

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