pictureFormEntry method

Widget pictureFormEntry({
  1. String title = 'Picture',
  2. String subTitle = 'Upload a picture',
  3. String? defaultValue,
})

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,
  );
}