MaxNumberValidator constructor

const MaxNumberValidator({
  1. required double number,
})

Constructs the validator with the maximum number that the value may be.

Implementation

const MaxNumberValidator({
  required this.number,
});