KaytaTextField constructor

KaytaTextField({
  1. TextEditingController? controller,
  2. dynamic onChanged(
    1. String?
    )?,
  3. String? hintText,
  4. IconData? leftIcon,
  5. TextStyle? hintStyle,
  6. TextStyle? style,
  7. List<TextInputFormatter>? inputFormatters,
  8. TextInputType? keyboardType,
  9. FocusNode? focusNode,
  10. TextInputAction? textInputAction,
  11. bool? autocorrect = false,
  12. bool? enableSuggestions = false,
  13. bool obscure = false,
  14. Color? iconColor,
  15. dynamic onFieldSubmitted(
    1. String?
    )?,
  16. String? errorText,
  17. String? initialValue,
  18. 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,
});