pictureFormEntry method
Single picture form field
Implementation
Widget pictureFormEntry({
String title = 'Picture',
String subTitle = 'Upload a picture',
String? defaultValue,
}) {
return MediaFormEntries.pictureFormEntry(
title: title,
subTitle: subTitle,
defaultValue: defaultValue,
selectedImage: selectedImage,
selectedImageBytes: selectedImageBytes,
onPickImage: pickImage,
onRemoveImage: removeProfilePicture,
enabled: isEdit,
context: context,
);
}