of static method
- BuildContext context
Returns the localized resources object of the given ComponentStrings
for the widget
tree that corresponds to the given context
.
Implementation
static ComponentStrings of(BuildContext context) {
return Localizations.of<ComponentStrings>(context, ComponentStrings)!;
}