BwEditTextField constructor
const
BwEditTextField({
- bool? enabled,
- bool? readOnly,
- String? hintText,
- TextEditingController? controller,
- double? borderRadius,
- ValueChanged<
String> ? onChanged, - List<
TextInputFormatter> ? inputFormatters, - FormFieldValidator<
String> ? validator, - String? infoText,
- ValueChanged<
String?> ? onSaved, - FocusNode? focusNode,
- ValueChanged<
String> ? onFieldSubmitted, - Function? onFocusChanged,
- String? errorText,
- AutovalidateMode? autoValidateMode,
- String? label,
- InputDecoration? decoration,
- Widget? suffixIcon,
- Widget? prefixIcon,
- TextInputAction? textInputAction,
- bool? obscureText,
- TextInputType? keyboardType,
- int? maxLength,
- Widget? counterWidget,
- int maxLines = 1,
- Function? onEditingCompleted,
- TextCapitalization? textCapitalization,
- bool showError = false,
- double? height,
- VoidCallback? onErrorCleared,
- Iterable<
String> ? autofillHints, - Key? key,
- GestureTapCallback? onTap,
- Color? fillColor,
- double? borderWidth = 1,
- bool? hasBorder = true,
- bool? autoFocus = false,
- String? initialValue,
- bool? counterTextRequired,
- Color? cursorColor,
- Color? hintColor,
- 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
});