MouseTrackerRaiiExt extension
Extension for managing MouseTracker lifecycle.
Example:
final mouseTracker = MouseTracker(...)
.withLifecycle(this, debugLabel: 'MouseTracker');
- on
Methods
-
withLifecycle(
RaiiLifecycleAware lifecycleAware, {String? debugLabel}) → MouseTracker -
Available on MouseTracker, provided by the MouseTrackerRaiiExt extension
Attaches this mouse tracker to a RaiiLifecycleAware object for automatic disposal.