PinnedImpellerc class final

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

A shader bundle loaded by Flutter GPU has to come from the running engine's own impellerc, which a Flutter build always has. This is for builds with no Flutter at all, whose runtime reads the bundle itself, so any one known-good compiler serves.

Constructors

PinnedImpellerc({required String engineRevision, required Map<String, String> archiveSha256, String baseUrl = 'https://storage.googleapis.com/flutter_infra_release/flutter'})
const

Properties

archiveSha256 → Map<String, String>
The sha256 of that revision's artifacts.zip, by host directory (darwin-arm64, darwin-x64, linux-x64, linux-arm64, windows-x64, windows-arm64). A host with no entry cannot fetch.
final
baseUrl → String
Where engine artifacts are served from.
final
engineRevision → String
The engine revision whose host artifacts hold the compiler.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

archiveUrl(String host) → Uri
The archive for host.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited