setLocale method

Future<void> setLocale(
  1. AppLocale locale
)

Switches the locale and notifies listeners.

Implementation

Future<void> setLocale(AppLocale locale) => port.setLocale(locale);