DartProject constructor

const DartProject({
  1. required String aotLibraryPath,
  2. required String assetsPath,
  3. required String icuDataPath,
})

Creates a DartProject from a series of absolute paths.

The three paths are:

  • aotLibraryPath: Path to the AOT snapshot file.
  • assetsPath: Path to the assets directory as built by the Flutter tool.
  • icuDataPath: Path to the icudtl.dat file.

The paths can either be absolute, or relative to the directory containing the running executable.

Implementation

const DartProject({
  required this.aotLibraryPath,
  required this.assetsPath,
  required this.icuDataPath,
});