mirrored_repositories/SwasthyaSetu/lib
import 'package:image_picker/image_picker.dart';

getImage(ImageSource source) async {
  final ImagePicker picker = ImagePicker();
// Pick an image.
  final XFile? image = await picker.pickImage(source: ImageSource.gallery);
  if (image != null) {
    return image.readAsBytes();
  }
  
}
