of static method

Implementation

static NUISpotlightContainerState? of(BuildContext context) => context.findAncestorStateOfType<NUISpotlightContainerState>();