bloc_tracker library

Classes

BlocBreakpoint
A contextual breakpoint tracker for a single BLoC event handler.
BlocTracker
A tracker for BLoC event performance. It captures event traces and outputs them via the provided onTrace handler.
BlocTrackerObserver
A BlocObserver that tracks and logs event performance.
BlocTrackerSettings
Settings for the BlocTrackerObserver.
Breakpoint
Represents a single tracked breakpoint within an event handler.
EventTrace
Represents the complete performance trace for a single BLoC event.
Thresholds
Defines warning and severe duration thresholds for performance monitoring.
TraceError
A helper class to pair an error with its optional stack trace.

Enums

TraceStatus
Represents the performance status of a trace or breakpoint.

Extensions

DurationNumX on num
Provides convenient extension methods on num to create Duration objects.

Typedefs

TraceHandler = void Function(EventTrace trace)
A handler function that processes a completed EventTrace.
TrackedEventHandler<E, S> = Future<void> Function(E event, Emitter<S> emit, BlocBreakpoint bp)
The signature for a trackable event handler function. It's similar to BLoC's EventHandler but includes a BlocBreakpoint object.