File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ main(List<String> arguments) {
9
9
// Platform.environment.forEach((k,v)=>print('$k $v'));
10
10
// 执行命令
11
11
// Process.run(executable, arguments);
12
+ print (green.wrap ("${DateTime .now ()}: The command is executing, please wait..." ));
12
13
File pubspec = File ("./pubspec.yaml" );
13
14
var pubspecDoc = loadYaml (pubspec.readAsStringSync ());
14
15
File packages = File ('./.packages' );
@@ -45,5 +46,8 @@ main(List<String> arguments) {
45
46
yamlString += allFonts;
46
47
}
47
48
flutterIconsFile.writeAsStringSync (yamlString);
49
+ var resDoc = loadYaml (yamlString);
50
+ var useFonts = List .of (resDoc['flutter' ]['fonts' ]).map ((item)=> item['family' ]);
51
+ print ('${DateTime .now ()}: The font you are using is $useFonts ' );
48
52
print (green.wrap ("${DateTime .now ()}: Finish the work" ));
49
53
}
You can’t perform that action at this time.
0 commit comments