You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dart:io import makes the package uncompilable for web #29
Used only for Platform.isAndroid / Platform.isIOS when choosing a maps URL. This file is reachable from the exported widgets, so any app that imports this package and targets web fails to compile, even though it never calls the plugin on web.
This also blocks adding web as a supported platform.
Fix: use defaultTargetPlatform from package:flutter/foundation.dart, which is web-safe and needs no conditional imports.
Activity