DevStatsPanel class

A "Stats" button that opens a panel of geeky numbers: ObservANT's from /healthz, refreshed every interval while open, and the browser's own from playback.

Constructors

DevStatsPanel({dynamic key, required Future<String?> fetch(), required dynamic playback(), Duration interval = const Duration(seconds: 2)})
const

Properties

fetch → Future<String?> Function()
/healthz's body, or null when it does not answer.
final
hashCode → int
The hash code for this object.
no setterinherited
interval → Duration
final
playback → dynamic Function()
The stream's PlaybackStats; null where the page plays none.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createState() → dynamic
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