KiteInput constructor
const
KiteInput({
- Key? key,
- TextEditingController? controller,
- String? initialValue,
- String? label,
- String? hint,
- String? helper,
- String? errorText,
- Widget? prefixIcon,
- Widget? suffix,
- KiteInputType type = KiteInputType.text,
- bool enabled = true,
- bool readOnly = false,
- bool autofocus = false,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - FormFieldValidator<
String> ? validator, - TextInputAction? textInputAction,
- FocusNode? focusNode,
Implementation
const KiteInput({
super.key,
this.controller,
this.initialValue,
this.label,
this.hint,
this.helper,
this.errorText,
this.prefixIcon,
this.suffix,
this.type = KiteInputType.text,
this.enabled = true,
this.readOnly = false,
this.autofocus = false,
this.onChanged,
this.onSubmitted,
this.validator,
this.textInputAction,
this.focusNode,
});