environment library

Classes

PinnedImpellerc
A build of impellerc to download when no Flutter SDK provides one.

Properties

pinnedImpellerc ↔ PinnedImpellerc?
The build findImpellerC downloads as its last resort. Null, the default, never touches the network.
getter/setter pair

Functions

fetchPinnedImpellerC(PinnedImpellerc pin) → Future<Uri>
Downloads pin's impellerc and its shader_lib for this host, checks the archive against its pinned hash, and returns the compiler. A build that already ran reuses its copy.
findEngineArtifactsDir({String? dartPath}) → Uri
Locate the engine artifacts cache directory in the Flutter SDK.
findImpellerC() → Future<Uri>
Locate the ImpellerC offline shader compiler in the engine artifacts cach directory.
hostArtifactsName({Abi? abi}) → String
The host artifact directory for this machine, as the engine names them.
impellercCacheDirectory() → Directory
Where downloaded compilers are kept, per user.