NumberValidator constructor
NumberValidator({
- bool allowDecimal = true,
Constructs the validator with the option to allow decimal values or restrict to integer only.
Implementation
NumberValidator({
this.allowDecimal = true,
});