UploadFileFieldBlocBuilder constructor

const UploadFileFieldBlocBuilder({
  1. Key? key,
  2. required InputFieldBloc<XFile?, dynamic>? inputFieldBloc,
  3. bool isEnabled = true,
  4. bool readOnly = false,
  5. bool animateWhenCanShow = true,
  6. bool enableOnlyWhenFormBlocCanSubmit = false,
  7. EdgeInsets? padding,
  8. required FieldValuePicker<XFile> picker,
  9. FieldBlocErrorBuilder? errorBuilder,
  10. double? aspectRation,
  11. BoxConstraints? constraints,
  12. Widget? placeHolder,
  13. Widget builder(
    1. BuildContext context,
    2. XFile file
    )?,
})

Implementation

const UploadFileFieldBlocBuilder({
  Key? key,
  required this.inputFieldBloc,
  this.isEnabled = true,
  this.readOnly = false,
  this.animateWhenCanShow = true,
  this.enableOnlyWhenFormBlocCanSubmit = false,
  this.padding,
  required this.picker,
  this.errorBuilder,
  this.aspectRation,
  this.constraints,
  this.placeHolder,
  this.builder,
}) : super(key: key);