UploadFileFieldBlocBuilder constructor
const
UploadFileFieldBlocBuilder({
- Key? key,
- required InputFieldBloc<
XFile?, dynamic> ? inputFieldBloc, - bool isEnabled = true,
- bool readOnly = false,
- bool animateWhenCanShow = true,
- bool enableOnlyWhenFormBlocCanSubmit = false,
- EdgeInsets? padding,
- required FieldValuePicker<
XFile> picker, - FieldBlocErrorBuilder? errorBuilder,
- double? aspectRation,
- BoxConstraints? constraints,
- Widget? placeHolder,
- Widget builder(
- BuildContext context,
- 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);