DoubleValidator function
Implementation
TextValidator DoubleValidator({double? minValue, double? maxValue, bool allowEmpty = true, String? message}) {
return NumValidator(minValue: minValue, maxValue: maxValue, allowEmpty: allowEmpty, message: message);
}