file property

Uri? file
final

The file to be bundled with the Dart or Flutter application.

If the linkMode is DynamicLoadingBundled, the file name must be provided in the BuildOutput for BuildConfig.dryRun. Supplying a file name instead of an absolute path is enough for BuildConfig.dryRun. The file does not have to exist on disk during a dry run.

If the linkMode is DynamicLoadingSystem, LookupInProcess, or LookupInExecutable the file must be omitted in the BuildOutput for BuildConfig.dryRun.

Implementation

final Uri? file;