LogitCore class

Core logger entry point for configuration, overlay, and access control.

Constructors

LogitCore.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

config ValueNotifier<LoggerConfig>
Current logger configuration (reactive).
final
container ↔ ProviderContainer?
getter/setter pair

Static Methods

attachLongPress(BuildContext context, {String? userId}) → void
Attach a global long-press gesture to open the logger overlay. Call this in your app's root widget (e.g., in build or initState).
canAccess({String? userId}) bool
Returns true if the logger should be accessible for the current user. Checks debug mode or allowedIds (to be used in UI logic). If allowedIds is empty, no one is allowed by ID.
hideOverlay() → void
Hide the logger overlay screen.
init(LoggerConfig initialConfig) → void
Initialize the logger with the given configuration.
initializeProviderContainer(ProviderContainer coreContainer) → void
Initialize the provider container for use in non-widget contexts
updateConfig(LoggerConfig newConfig) → void
Update the logger configuration at runtime. Listeners will be notified.