@override String? validate(F form, E key, int value) { if (value < min || value > max) { return loc.numberRangeError(min, max); } return null; }