Mac下运行Flutter官方demo flutter_gallery

WechatIMG10.jpeg

将pubspec.yaml中的https://flutter.googlesource.com/gallery-assets替换为https://gitee.com/creatint/gallery-assets.git即可解决

WechatIMG9.jpeg

此时打开项目目录中的pubspec.yaml找到test: 0.12.30+3改为test: 0.12.32+1即可

你可能感兴趣的:(Mac下运行Flutter官方demo flutter_gallery)