of static method

从上下文获取刷新本地化实例

  • 返回值: 刷新本地化实例

Implementation

static RefreshLocalizations? of(BuildContext context) {
  return Localizations.of(context, RefreshLocalizations);
}