InputFileFieldBlocBuilder constructor

const InputFileFieldBlocBuilder({
  1. Key? key,
  2. required InputFieldBloc<XFile?, dynamic>? inputFieldBloc,
  3. bool enableOnlyWhenFormBlocCanSubmit = true,
  4. bool animateWhenCanShow = true,
  5. FocusNode? focusNode,
  6. FocusNode? nextFocusNode,
  7. bool isEnabled = true,
  8. bool readOnly = false,
  9. EdgeInsets? padding,
  10. InputDecoration decoration = const InputDecoration(),
  11. SuffixButton? suffixButton,
  12. Icon clearIcon = const Icon(Icons.clear),
  13. required FieldValuePicker<XFile> picker,
  14. FieldBlocErrorBuilder? errorBuilder,
  15. FieldValueBuilder<XFile>? builder,
})

Implementation

const InputFileFieldBlocBuilder({
  Key? key,
  required this.inputFieldBloc,
  this.enableOnlyWhenFormBlocCanSubmit = true,
  this.animateWhenCanShow = true,
  this.focusNode,
  this.nextFocusNode,
  this.isEnabled = true,
  this.readOnly = false,
  this.padding,
  this.decoration = const InputDecoration(),
  this.suffixButton,
  this.clearIcon = const Icon(Icons.clear),
  required this.picker,
  this.errorBuilder,
  this.builder,
}) : super(key: key);