我正在尝试在flutter项目中添加google_maps_flutter和google_map_location_picker来使用它,但问题是最新版本^4.1.7与应用程序中的其他包不兼容,每次我都会收到这个错误: because myapp depends on both image_picker ^0.8.4+2 and google_maps_flutter ^1.1.0, version solving failed. 完全错误: Because image_picker >=0.7.4 depends on flutter_plugin_android_lifecycle
我有一个现有的flutter应用程序,并尝试在web上运行它,但当我尝试运行它时,它显示一个空白页面,并且我在chrome控制台上看到一个错误 Uncaught TypeError: Class extends value undefined is not a constructor or null
at remote_module.dart:15
我的应用程序中有一些标记和圆圈,但我无法配置...google_maps_flutter包中半径的单位是多少..以下是我的代码的一部分
Circle circleA = Circle(
circleId: CircleId("A"),
center: LatLng(..., ...),
radius: 4000, what is unit of radius here.. miles or pixels?
);
我的webview_flutter: ^2.8.0在我的pubspec.yaml中,然后我想添加google_maps_flutter: ^1.2.0包,但它不匹配,它能修复吗?或者替代google_maps_flutter的其他软件包:^1.2.0,因为这是我的公司项目,而webview_flutter:^2.8.0从一开始就在pubspec.yaml中,我当然不能删除它。
在输出中显示了类似的情况
Running "flutter pub get" in one-smile...
Because no versions of
将RXdart添加到我的pubspec.yaml后,我收到以下错误: Because no versions of cached_network_image match >2.5.1 <3.0.0 and cached_network_image 2.5.1 depends on flutter_cache_manager ^2.1.0, cached_network_image ^2.5.1 requires flutter_cache_manager ^2.1.0. 包使用: ev_dependencies:
flutter_test:
sdk: flutter