SkinAuditController class

Constructors

SkinAuditController({int historyLimit = 50, FeatureId? feature})
Creates a bus core. historyLimit caps the retained history ring (default 50 — enough to diagnose a session, bounded enough to never grow unbounded in a long debug run). feature is the active feature contract id (spec 1115, issue #1115 item 4) — the SAME identifier the slice manifest's xrayLayer and the xray deck's @FeatureOwned carry: one FeatureContract.id flows through slice + xray + auditor + receipt.

Properties

feature → FeatureId?
The active feature (spec 1115), typed.
final
hashCode int
The hash code for this object.
no setterinherited
hasViolations bool
Whether the banner should be visible.
no setter
history List<List<SkinViolation>>
The bounded history of published sets, most recent FIRST.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
violations List<SkinViolation>
The live violations (most recent publish), unmodifiable.
no setter

Methods

addListener(void listener()) → void
Subscribes to changes (the chrome's ValueNotifier bridge and test lanes use this).
clear() bool
Clears the live set. Returns whether anything changed.
dispose() → void
Drops every listener (widget teardown / test teardown).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(List<SkinViolation> violations) bool
Replaces the live violation set. Returns true when the set actually changed (and listeners were notified), false for a no-op publish.
removeListener(void listener()) → void
Unsubscribes.
toString() String
A string representation of this object.
inherited

Operators

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