NumberValidationConfig constructor

const NumberValidationConfig({
  1. num? min,
  2. num? max,
  3. bool allowNegative = true,
  4. bool integerOnly = false,
  5. int? maxDecimalPlaces,
})

Creates a number validation config.

Implementation

const NumberValidationConfig({
  this.min,
  this.max,
  this.allowNegative = true,
  this.integerOnly = false,
  this.maxDecimalPlaces,
});