DraftModeUIField constructor
const
DraftModeUIField({
- Key? key,
- required TextEditingController controller,
- required FocusNode focusNode,
- required ValueChanged<
String> onChanged, - String? label,
- String? placeholder,
- bool obscureText = false,
- bool obscureEye = false,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - Widget? prefix,
- Widget? suffix,
- bool enabled = true,
- bool autocorrect = false,
- int? lines,
- int? maxLength,
- String? errorText,
- bool showError = false,
Implementation
const DraftModeUIField({
super.key,
required this.controller,
required this.focusNode,
required this.onChanged,
this.label,
this.placeholder,
this.obscureText = false,
this.obscureEye = false,
this.keyboardType,
this.inputFormatters,
this.prefix,
this.suffix,
this.enabled = true,
this.autocorrect = false,
this.lines,
this.maxLength,
this.errorText,
this.showError = false,
});