DevToolsModule class

Constructors

DevToolsModule()

Properties

active → bool
Whether the module is currently active and can handle requests.
no setterinherited
dependencies → List<Module>
finalinherited
di → DependencyInjector
Dependency injection container for this module.
finalinherited
fullScreen → bool
Whether this module should be displayed in full screen mode.
finalinherited
hasError → bool
Whether the module is in an error state.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
hasStack → bool
Whether the navigation stack is empty.
no setterinherited
lastError → Object?
The last error that occurred, if any.
no setterinherited
loggerTags → List<String>
Default tags automatically added to all log messages from this class.
no setterinherited
name → String
Unique identifier for this module.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stack → Iterable<Widget>
Current navigation stack as an iterable of widgets.
no setterinherited
stackDepth → int
Number of items currently in the navigation stack.
no setterinherited
state → ModuleLifecycleState
Current lifecycle state of the module.
no setterinherited

Methods

build(BuildContext context) → Widget
Builds the main widget for this module.
clear() → void
Removes all widgets from the navigation stack.
inherited
debug(String message, [List<String> tags = const []]) → Future<void>
Logs a debug message with automatic tag merging.
inherited
dispose() → Future<void>
Disposes the module and releases all resources.
inherited
error(String message, [List<String> tags = const []]) → Future<void>
Logs an error message with automatic tag merging.
inherited
hotReload(Module newModule) → Future<void>
Performs a hot reload by replacing this module with a new implementation.
inherited
info(String message, [List<String> tags = const []]) → Future<void>
Logs an informational message with automatic tag merging.
inherited
initialize() → Future<void>
Initializes the module and transitions it to active state.
inherited
log(String message, {LogType type = LogType.info, List<String> tags = const []}) → Future<void>
Logs a message with the specified type and additional tags.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onActive(RouteTransitionContext ctx) → void
Called when the module becomes active.
inherited
onDispose() → FutureOr<void>
Called when the module is being disposed.
inherited
onError(Object error, StackTrace stackTrace) → FutureOr<void>
Called when an error occurs during lifecycle transitions.
inherited
onHotReload(Module newModule) → FutureOr<void>
Called during hot reload operations.
inherited
onInit() → FutureOr<void>
Called when the module is being initialized.
inherited
onRecover() → Future<bool>
Called during recovery attempts.
inherited
onResume() → Future<void>
Called when the module is being resumed from suspension.
inherited
onSuspend() → FutureOr<void>
Called when the module is being suspended.
inherited
pop<T>([T? value]) → void
Completes the associated Future with the provided value.
inherited
push<T>(Widget widget) → Future<T>
Adds a widget to the module's internal navigation stack.
inherited
recover() → Future<bool>
Attempts to recover from an error state.
inherited
resume() → Future<void>
Resumes a suspended module, making it active again.
inherited
suspend() → Future<void>
Suspends the module, making it temporarily inactive.
inherited
toString() → String
A string representation of this object.
inherited
warning(String message, [List<String> tags = const []]) → Future<void>
Logs a warning message with automatic tag merging.
inherited

Operators

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