AdaptiveTextFieldBlocBuilder constructor

const AdaptiveTextFieldBlocBuilder({
  1. Key? key,
  2. required TextFieldBloc textFieldBloc,
  3. bool enableOnlyWhenFormBlocCanSubmit = false,
  4. bool isEnabled = true,
  5. FieldBlocErrorBuilder? errorBuilder,
  6. SuffixButton? suffixButton,
  7. EdgeInsetsGeometry? padding,
  8. FocusNode? focusNode,
  9. InputDecoration decoration = const InputDecoration(),
  10. TextInputType? keyboardType,
  11. TextInputAction? textInputAction,
  12. bool? obscureText,
  13. Iterable<String>? autofillHints,
  14. bool? sensitiveContent,
  15. int? maxLines = 1,
  16. bool readOnly = false,
  17. bool autofocus = false,
  18. FocusNode? nextFocusNode,
  19. bool animateWhenCanShow = true,
  20. bool focusOnValidationFailed = true,
  21. ValueChanged<String>? onChanged,
  22. ValueChanged<String>? onSubmitted,
  23. EdgeInsets scrollPadding = const EdgeInsets.all(20.0),
  24. bool? forceCupertino,
  25. 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,
});