locManager property

LocalizationManager get locManager

Retrieves the LocalizationManager from the nearest LocalizationProvider in the widget tree.

This property makes it simpler to access the LocalizationManager without repeatedly having to type the full LocalizationProvider.of call.

Implementation

LocalizationManager get locManager => LocalizationProvider.of(this);