file property

Uri? file

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

How this file is bundled depends on the kind of asset, represented by a concrete subtype of Asset, and the SDK (Dart or Flutter).

The file can be omitted in the BuildOutput for BuildConfig.dryRun.

The file can also be omitted for asset types which refer to an asset already present on the target system or an asset already present in Dart or Flutter.

Implementation

Uri? get file;