Flutter, Flutter App Development, Flutter Widget, Flutter Image, Mobile App Development.
is the function that we’ll use in our widget. enum AppImageSource { camera, gallery, } abstract class MediaServiceInterface { PermissionService get permissionService; Future<File?> uploadImage( BuildContext context, AppImageSource appImageSource, { bool shouldCompress = true, }); Future<File?>