assetsPath top-level property

String? get assetsPath

The path to the assets directory.

This resolves the URI for the assets folder within the inno_build package and returns its file system path.

Implementation

String? get assetsPath {
  final packageUri = Uri.parse('package:inno_build/assets');
  final pathFile = Isolate.resolvePackageUriSync(packageUri);
  return pathFile?.toFilePath();
}