DartProject class

A set of Flutter and Dart assets used to initialize a Flutter engine.

Constructors

DartProject({required String aotLibraryPath, required String assetsPath, required String icuDataPath})
Creates a DartProject from a series of absolute paths.
const
DartProject.fromPath(String path)
Creates a DartProject from a directory path.
factory
DartProject.fromRoot(String path)
Creates a DartProject from the root Flutter folder, after running flutter assemble, with a command such as: flutter assemble -dTargetPlatform=windows-x64 --output=build -dBuildMode=release release_bundle_windows_assets.
factory

Properties

aotLibraryPath String
The path to the AOT library.
final
assetsPath String
The path to the assets directory.
final
hashCode int
The hash code for this object.
no setterinherited
icuDataPath String
The path to the ICU data.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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