KinTextField constructor
const
KinTextField({
- Key? key,
- String? hint,
- String? label,
- String? errorText,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - TextEditingController? controller,
- bool obscureText = false,
- bool enabled = true,
- TextInputType? keyboardType,
- int maxLines = 1,
- Widget? prefix,
- Widget? suffix,
- FocusNode? focusNode,
- int? maxLength,
- bool showCharCounter = false,
- List<
TextInputFormatter> ? inputFormatters,
Implementation
const KinTextField({
super.key,
this.hint,
this.label,
this.errorText,
this.onChanged,
this.onSubmitted,
this.controller,
this.obscureText = false,
this.enabled = true,
this.keyboardType,
this.maxLines = 1,
this.prefix,
this.suffix,
this.focusNode,
this.maxLength,
this.showCharCounter = false,
this.inputFormatters,
});