TNumberField<T extends num> constructor
const
TNumberField<T extends num> ({
- Key? key,
- String? label,
- String? tag,
- String? helperText,
- String? placeholder,
- bool isRequired = false,
- bool disabled = false,
- bool autoFocus = false,
- bool readOnly = false,
- TNumberFieldTheme? theme,
- VoidCallback? onTap,
- FocusNode? focusNode,
- TextEditingController? textController,
- T? value,
- ValueNotifier<
T?> ? valueNotifier, - ValueChanged<
T?> ? onValueChanged, - List<
String? Function(T?)> ? rules, - Duration? validationDebounce,
Implementation
const TNumberField({
super.key,
this.label,
this.tag,
this.helperText,
this.placeholder,
this.isRequired = false,
this.disabled = false,
this.autoFocus = false,
this.readOnly = false,
this.theme,
this.onTap,
this.focusNode,
this.textController,
this.value,
this.valueNotifier,
this.onValueChanged,
this.rules,
this.validationDebounce,
});