contextExtension extension

on

Properties

locale Locale

Available on BuildContext, provided by the contextExtension extension

Get the current locale based on this context. The same as Localizations.localeOf(this)
no setter
localization Localization

Available on BuildContext, provided by the contextExtension extension

Get the current localization based on this context. The same as Localization.of(context)
no setter