NiceTextInput constructor
const
NiceTextInput({
- Key? key,
- TextEditingController? controller,
- String? label,
- String? hint,
- String? errorText,
- bool enabled = true,
- bool readOnly = false,
- bool obscureText = false,
- int? maxLines = 1,
- int? maxLength,
- Widget? prefixIcon,
- Widget? suffixIcon,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - TextInputType? keyboardType,
- bool autofocus = false,
- FocusNode? focusNode,
Implementation
const NiceTextInput({
super.key,
this.controller,
this.label,
this.hint,
this.errorText,
this.enabled = true,
this.readOnly = false,
this.obscureText = false,
this.maxLines = 1,
this.maxLength,
this.prefixIcon,
this.suffixIcon,
this.onChanged,
this.onSubmitted,
this.keyboardType,
this.autofocus = false,
this.focusNode,
});