Flutter ignore certain Dependency in pubspec.yaml for web only

Viewed 507

I am trying to migrate my existing Flutter app to web. The problem is that certain packages don't exist for Web, (e.g. ObjectBox).

I don't really want to build a whole new project so is there a way to exclude certain dependencies for web? Couldn't find anything on this...

0 Answers
Related