TTextField constructor
const
TTextField({
- Key? key,
- String? label,
- String? tag,
- String? helperText,
- String? placeholder,
- bool isRequired = false,
- bool disabled = false,
- bool autoFocus = false,
- bool readOnly = false,
- TTextFieldTheme? theme,
- VoidCallback? onTap,
- FocusNode? focusNode,
- TextEditingController? textController,
- String? value,
- ValueNotifier<
String?> ? valueNotifier, - ValueChanged<
String?> ? onValueChanged, - List<
String? Function(String?)> ? rules, - Duration? validationDebounce,
- int rows = 1,
Implementation
const TTextField({
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,
this.rows = 1,
});