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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
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