ImageEnricher class

Names what each image shows (file, asset or URL from its provider) and whether it painted, in one eval. Capped at maxImages; containers that might paint a decoration image ride the same eval, capped at maxDecorationCandidates.

Implemented types

Constructors

ImageEnricher({required FlutterRuntime runtime, int maxImages = 20, int maxDecorationCandidates = 12})

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxDecorationCandidates → int
final
maxImages → int
final
runtime → FlutterRuntime
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

enrich(SemanticScene scene) → Future<void>
override
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

Static Methods

dropCandidates(SemanticScene scene) → void
Removes decoration-image candidates nothing confirmed, leaving the scene as if they had been dissolved.