AdaptiveTextFieldBlocBuilder constructor
const
AdaptiveTextFieldBlocBuilder({
- Key? key,
- required TextFieldBloc textFieldBloc,
- bool enableOnlyWhenFormBlocCanSubmit = false,
- bool isEnabled = true,
- FieldBlocErrorBuilder? errorBuilder,
- SuffixButton? suffixButton,
- EdgeInsetsGeometry? padding,
- FocusNode? focusNode,
- InputDecoration decoration = const InputDecoration(),
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- bool? obscureText,
- Iterable<
String> ? autofillHints, - bool? sensitiveContent,
- int? maxLines = 1,
- bool readOnly = false,
- bool autofocus = false,
- FocusNode? nextFocusNode,
- bool animateWhenCanShow = true,
- bool focusOnValidationFailed = true,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - EdgeInsets scrollPadding = const EdgeInsets.all(20.0),
- bool? forceCupertino,
- bool? forceMaterial,
Implementation
const AdaptiveTextFieldBlocBuilder({
super.key,
required this.textFieldBloc,
this.enableOnlyWhenFormBlocCanSubmit = false,
this.isEnabled = true,
this.errorBuilder,
this.suffixButton,
this.padding,
this.focusNode,
this.decoration = const InputDecoration(),
this.keyboardType,
this.textInputAction,
this.obscureText,
this.autofillHints,
this.sensitiveContent,
this.maxLines = 1,
this.readOnly = false,
this.autofocus = false,
this.nextFocusNode,
this.animateWhenCanShow = true,
this.focusOnValidationFailed = true,
this.onChanged,
this.onSubmitted,
this.scrollPadding = const EdgeInsets.all(20.0),
this.forceCupertino,
this.forceMaterial,
});