CorextraDevTools class

Central, in-memory DevTools store for the current app run.

Everything captured here lives only in memory and defaults to kDebugMode so it can never accidentally stay active in a release build. Toggle at runtime with enabled:

CorextraDevTools.instance.enabled = false;

Properties

enabled bool
getter/setter pair
enabledNotifier ValueNotifier<bool>
final
hashCode int
The hash code for this object.
no setterinherited
logs LogEntryStore
final
network NetworkEventStore
final
performance FrameSampleStore
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
themeMode ThemeMode
getter/setter pair
themeModeNotifier ValueNotifier<ThemeMode>
The DevTools panel's own theme — independent of the host app's theme. Defaults to dark; toggle with a light/dark ThemeMode via the panel's theme switcher, or set directly:
final

Methods

handleBackPress() bool
Invokes the most recently registered handler, if any, and reports whether one was found.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pushBackHandler(VoidCallback handler) VoidCallback
Registers handler as the current target for Android's hardware back button — e.g. a drilled-in detail screen or a fullscreen viewer — instead of the panel or the host app underneath; call the returned callback once that view is gone.
resetAll() → void
Clears all captured data. Does not change enabled.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance CorextraDevTools
final