static ScopedState? of(BuildContext context) { return context.findAncestorStateOfType<ScopedState>(); }