KaytaTextField constructor
KaytaTextField({
- TextEditingController? controller,
- dynamic onChanged()?,
- String? hintText,
- IconData? leftIcon,
- TextStyle? hintStyle,
- TextStyle? style,
- List<
TextInputFormatter> ? inputFormatters, - TextInputType? keyboardType,
- FocusNode? focusNode,
- TextInputAction? textInputAction,
- bool? autocorrect = false,
- bool? enableSuggestions = false,
- bool obscure = false,
- Color? iconColor,
- dynamic onFieldSubmitted()?,
- String? errorText,
- String? initialValue,
- TextAlign textAlign = TextAlign.start,
Implementation
KaytaTextField({
this.controller,
this.onChanged,
this.hintText,
this.leftIcon,
this.hintStyle,
this.style,
this.inputFormatters,
this.keyboardType,
this.focusNode,
this.textInputAction,
this.autocorrect = false,
this.enableSuggestions = false,
this.obscure = false,
this.iconColor,
this.onFieldSubmitted,
this.errorText,
this.initialValue,
this.textAlign = TextAlign.start,
});