instance property
Shared instance used by the app.
Debug and profile builds start with the window visible so the metrics can be inspected right away. Release builds keep it hidden until the user turns it on from the app's own developer settings.
Implementation
static final PerformanceHudController instance = PerformanceHudController(
visibleByDefault: !kReleaseMode,
);