controller property

Injected<_ModalContent?> get controller

Access to the active modal controller

Tracks the currently displayed modal of any type. For type-specific access, use dialogController, sheetController, or snackbarController.

Implementation

static Injected<_ModalContent?> get controller => _activeModalController;