BlocXTextFieldOptions constructor
const
BlocXTextFieldOptions({
- InputDecoration? decoration,
- TextStyle? style,
- TextInputType? keyboardType,
- TextCapitalization textCapitalization = TextCapitalization.none,
- TextInputAction? textInputAction,
- TextAlign textAlign = TextAlign.start,
- int? maxLines = 1,
- int? minLines,
- bool autofocus = false,
- bool obscureText = false,
- String? labelText,
- TextStyle? labelStyle,
- String? hintText,
- TextStyle? hintStyle,
- String? helperText,
- TextStyle? helperStyle,
- String? errorText,
- TextStyle? errorStyle,
- Widget? prefixIcon,
- bool showClearButton = true,
- bool filled = true,
- Color? fillColor,
- BorderRadius? borderRadius,
- EdgeInsetsGeometry? contentPadding,
Implementation
const BlocXTextFieldOptions({
this.decoration,
this.style,
this.keyboardType,
this.textCapitalization = TextCapitalization.none,
this.textInputAction,
this.textAlign = TextAlign.start,
this.maxLines = 1,
this.minLines,
this.autofocus = false,
this.obscureText = false,
// label
this.labelText,
this.labelStyle,
// hint
this.hintText,
this.hintStyle,
// helper
this.helperText,
this.helperStyle,
// error
this.errorText,
this.errorStyle,
// icons
this.prefixIcon,
// behavior
this.showClearButton = true,
// filled defaults
this.filled = true,
this.fillColor,
this.borderRadius,
this.contentPadding,
});