instance property

FocusManager instance

Provides convenient access to the current FocusManager singleton from the WidgetsBinding instance.

Implementation

static FocusManager get instance => WidgetsBinding.instance.focusManager;