使用 flutter_google_places 在 pubspec.yaml 文件中出错:^0.2.1 插件如下:我如何摆脱颤振中的此类问题。
注意:包没有缩进
pubspec.yaml 的第 18 行第 3 列错误:包可能不会将自身列为依赖项。flutter_google_places:^ 0.2.1
^^^^^^^^^^^^^^^^^^^^^
pubspec.yaml 文件:
name: flutter_google_places
description: A new Flutter application.
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively. …Run Code Online (Sandbox Code Playgroud)