static String? numberValidator(String? value) { return customRegexValidator(value, r'^-?\d+(\.\d+)?$', 'Invalid number'); }