of static method
Returns the PlaygroundController most closely associated with the given context.
Returns null if there is no PlaygroundController associated with the given context.
Implementation
static PlaygroundController? of(BuildContext context) {
final result = context
.dependOnInheritedWidgetOfExactType<PlaygroundControllerProvider>();
return result?.controller;
}