of static method

Implementation

static ComponentLocalization of(BuildContext context) {
  return Localizations.of<ComponentLocalization>(context, ComponentLocalization)!;
}