TNumberField<T extends num> constructor

const TNumberField<T extends num>({
  1. Key? key,
  2. String? label,
  3. String? tag,
  4. String? helperText,
  5. String? placeholder,
  6. bool isRequired = false,
  7. bool disabled = false,
  8. bool autoFocus = false,
  9. bool readOnly = false,
  10. TNumberFieldTheme? theme,
  11. VoidCallback? onTap,
  12. FocusNode? focusNode,
  13. TextEditingController? textController,
  14. T? value,
  15. ValueNotifier<T?>? valueNotifier,
  16. ValueChanged<T?>? onValueChanged,
  17. List<String? Function(T?)>? rules,
  18. 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,
});