gskinnerTeam / flutter-universal-platform

A web-safe implementation of dart.io.Platforms. Helps avoid the "Unsupported operation: Platform._operatingSystem" runtime error.
MIT License
105 stars 27 forks source link

Force flutter to use universal platform #12

Closed BerlinLion closed 3 months ago

BerlinLion commented 3 years ago

I have several issues with a lot of packages, running on the web-chrome, because of the error in the standard platform package. But this universal-platform package solves that issue. Is there a way to force flutter to use "universal-platform" instead of the standard implemented "platform" of flutter?!

esDotDev commented 3 years ago

I wish! They are aware of this issue, but not sure what the plans are to fix it.

trailerzone commented 3 years ago

might be able to create something where it overrides the internal function, i am kinda new to the language but i've seen some people do this with other areas involving the core