asset_generator
asset_generator copied to clipboard
根据pubspec.yaml中设置的目录模板自动向其中添加文件记录的简单脚本
貌似是Android studio问题 文档可以预览到,就是图片也没法预览 Android Studio版本是 2020.3.1 Patch3 不知道是不是设置的问题
`import 'dart:io'; var previewServerPort = 2227; bool isHiddenFile(FileSystemEntity file) => file.path[file.parent.path.length + 1] == '.'; void main() async { bool working = false; var pubSpec = File('pubspec.yaml'); var pubLines =...
能不能不要添加1倍图
你好: 我的环境为: MacOS ,VSCode,报错为: ``` zsh:1: permission denied: /Users/**/asset_generator/asset_generator.dart The terminal process terminated with exit code: 126 Terminal will be reused by tasks, press any key to close it. ```