BuildCli class

build cli

Constructors

BuildCli()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

android({required Map<String, dynamic> data, String template = "./templates/android/build.gradle.hbs", required String output}) bool
生成android文件
generate({required Map<String, dynamic> data, required String template, required String output}) bool
生成文件 data 模板数据 template 模板文件路径 output 生成文件路径 return 是否生成成功
macos({required Map<String, dynamic> data, required String template, required String output}) bool
生成mac文件
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceBundleIdentifier({required String filePath, required String newIdentifier}) Future<void>
Replaces the bundle identifier in the given file.
runFlutterCreateMacOS({required String domain, required String platforms, required String projectName}) Future<void>
创建macos配置文件
toString() String
A string representation of this object.
inherited
updateXmlValue({required String filePath, required String key, required String value}) Future<void>
修改Xml值
web({required Map<String, dynamic> data, required String template, required String output}) bool
生成web文件
window({required Map<String, dynamic> data, required String template, required String output}) bool
生成window文件

Operators

operator ==(Object other) bool
The equality operator.
inherited