ContextExtensions extension

ContextExtensions is the extension class for the BuildContext.

on

Properties

delegates Iterable<LocalizationsDelegate>

Available on BuildContext, provided by the ContextExtensions extension

delegates is the getter for the localization delegates.
no setter
isRTL bool

Available on BuildContext, provided by the ContextExtensions extension

isRTL is the getter for the right to left.
no setter
languageCode String

Available on BuildContext, provided by the ContextExtensions extension

languageCode is the getter for the language code.
no setter
locale Locale

Available on BuildContext, provided by the ContextExtensions extension

locale is the getter for the localization delegates.
no setter
supportedLocales List<Locale>

Available on BuildContext, provided by the ContextExtensions extension

supportedLocales is the getter for the supported locales.
no setter

Methods

countryCode() → void

Available on BuildContext, provided by the ContextExtensions extension

countryCode is the setter for the language code.
setLanguageCode(String languageCode) → void

Available on BuildContext, provided by the ContextExtensions extension

setLanguageCode is the setter for the language code.
setLocale(Locale locale) → void

Available on BuildContext, provided by the ContextExtensions extension

setLocale is the setter for the locale.