Skip to content

Instantly share code, notes, and snippets.

@CoderNamedHendrick
Created July 10, 2023 03:30
Show Gist options
  • Save CoderNamedHendrick/c580b19ab32c95a654ee87d32334439f to your computer and use it in GitHub Desktop.
Save CoderNamedHendrick/c580b19ab32c95a654ee87d32334439f to your computer and use it in GitHub Desktop.
Updated gist
ImagePickerFormField(
validator: (imageFile) {
if (imageFile == null) return 'Please select an image';
return null;
},
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment