How do I fix “No pubspec.yaml file found” in flutter?

后端 未结 23 1923
南方客
南方客 2021-02-07 02:46

I am using Windows 10 with VS Code, although I also tested it on PowerShell, and both produced the same result:

After creating a new flutter program, before editing anyt

23条回答
  •  北恋
    北恋 (楼主)
    2021-02-07 03:31

    step 1 : Add this to your package's pubspec.yaml file: url_launcher: ^5.0.2

    step 2: When You come back to main.dart file you can see the get dependencies. when yo click on that link "flutter packages get" command will run. You can get the URL Launcher package

提交回复
热议问题