signalValueLookup property

({bool computed, String signalId, String value})? Function(String wireName)? signalValueLookup
final

Optional callback to look up a signal's current value by wire name.

When provided (i.e. in embedded/DevTools mode), the hover tooltip will show the signal value on a second line beneath the wire name. The computed flag indicates whether the value was evaluated extension-side (gate DAG, alias, wire copy, constant) rather than fetched from the VM service — used to colour the tooltip text. When null (standalone mode), only the wire name is shown.

Implementation

final ({String value, bool computed, String signalId})? Function(
  String wireName,
)? signalValueLookup;