I18nBuildContextExtension extension

on

Properties

locale Locale

Available on BuildContext, provided by the I18nBuildContextExtension extension

Ways to read the current locale:
getter/setter pair

Methods

resetLocale() → void

Available on BuildContext, provided by the I18nBuildContextExtension extension

To reset the current locale back to the default system locale, which is set in the device settings: