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