widgetsL10n property

WidgetsLocalizations get widgetsL10n

Returns the widgets localizations from the closest widgets.WidgetsLocalizations ancestor.

context.widgetsLocalizations is equivalent to widgets.WidgetsLocalizations.of.

Implementation

widgets.WidgetsLocalizations get widgetsL10n {
  return widgets.WidgetsLocalizations.of(this);
}