FocusManagerRaiiExt extension

Extension for managing FocusManager lifecycle.

Example:

final focusManager = FocusManager()
  .withLifecycle(this, debugLabel: 'FocusManager');
on

Methods

withLifecycle(RaiiLifecycleAware lifecycleAware, {String? debugLabel}) FocusManager

Available on FocusManager, provided by the FocusManagerRaiiExt extension

Attaches this focus manager to a RaiiLifecycleAware object for automatic disposal.