BwEditTextField constructor

const BwEditTextField({
  1. bool? enabled,
  2. bool? readOnly,
  3. String? hintText,
  4. TextEditingController? controller,
  5. double? borderRadius,
  6. ValueChanged<String>? onChanged,
  7. List<TextInputFormatter>? inputFormatters,
  8. FormFieldValidator<String>? validator,
  9. String? infoText,
  10. ValueChanged<String?>? onSaved,
  11. FocusNode? focusNode,
  12. ValueChanged<String>? onFieldSubmitted,
  13. Function? onFocusChanged,
  14. String? errorText,
  15. AutovalidateMode? autoValidateMode,
  16. String? label,
  17. InputDecoration? decoration,
  18. Widget? suffixIcon,
  19. Widget? prefixIcon,
  20. TextInputAction? textInputAction,
  21. bool? obscureText,
  22. TextInputType? keyboardType,
  23. int? maxLength,
  24. Widget? counterWidget,
  25. int maxLines = 1,
  26. Function? onEditingCompleted,
  27. TextCapitalization? textCapitalization,
  28. bool showError = false,
  29. double? height,
  30. VoidCallback? onErrorCleared,
  31. Iterable<String>? autofillHints,
  32. Key? key,
  33. GestureTapCallback? onTap,
  34. Color? fillColor,
  35. double? borderWidth = 1,
  36. bool? hasBorder = true,
  37. bool? autoFocus = false,
  38. String? initialValue,
  39. bool? counterTextRequired,
  40. Color? cursorColor,
  41. Color? hintColor,
  42. Color? borderColor,
})

Implementation

const BwEditTextField({
  this.enabled,
  this.readOnly,
  this.hintText,
  this.controller,
  this.borderRadius,
  this.onChanged,
  this.inputFormatters,
  this.validator,
  this.infoText,
  this.onSaved,
  this.focusNode,
  this.onFieldSubmitted,
  this.onFocusChanged,
  this.errorText,
  this.autoValidateMode,
  this.label,
  this.decoration,
  this.suffixIcon,
  this.prefixIcon,
  this.textInputAction,
  this.obscureText,
  this.keyboardType,
  this.maxLength,
  this.counterWidget,
  this.maxLines = 1,
  this.onEditingCompleted,
  this.textCapitalization,
  this.showError = false,
  this.height,
  this.onErrorCleared,
  this.autofillHints,
  super.key,
  this.onTap,
  this.fillColor,
  this.borderWidth = 1,
  this.hasBorder = true,
  this.autoFocus = false,
  this.initialValue,
  this.counterTextRequired,
  this.cursorColor,
  this.hintColor,
  this.borderColor
});