The error message starts from the image_picker dependency, which has compatibility issues with web, as per documentation here: https://pub.dev/packages/image_picker
You can see in the same documentation that they recommend using https://pub.dev/packages/image_picker_for_web#limitations-on-the-web-platform and pay attention to the limitations. Have a look at it and see if it solves your problem