FlutterProject class

Constructors

FlutterProject(Directory projectDirectory, {String? appConfigDirectory, String? flutterConfigPath, String? flutterConfigClassName, List<String>? buildPlatforms})

Properties

android AndroidSubModule
no setter
appConfigDirectory String
app配置文件所在目录路径
final
appConfigsDirectory Directory
no setter
appDefaultConfigFile File
no setter
buildPlatforms List<String>
生成对应的平台
final
flutterConfigClassName String
flutter配置生成类名称
final
flutterConfigPath String
flutter配置文件生成路径
final
flutterConfigsFile File
no setter
hashCode int
The hash code for this object.
no setterinherited
ios IosSubModule
no setter
projectDirectory Directory
项目目录
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(String? commandEnvType, bool? replaceFiles) Future<void>
生成文件
create() Future<void>
创建配置文件
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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