KiteInput constructor

const KiteInput({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? initialValue,
  4. String? label,
  5. String? hint,
  6. String? helper,
  7. String? errorText,
  8. Widget? prefixIcon,
  9. Widget? suffix,
  10. KiteInputType type = KiteInputType.text,
  11. bool enabled = true,
  12. bool readOnly = false,
  13. bool autofocus = false,
  14. ValueChanged<String>? onChanged,
  15. ValueChanged<String>? onSubmitted,
  16. FormFieldValidator<String>? validator,
  17. TextInputAction? textInputAction,
  18. 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,
});