of<T extends ShowcaseState> static method
The state, as the type of your own demo state. Pass listen: false from callbacks.
Implementation
static T of<T extends ShowcaseState>(BuildContext context, {bool listen = true}) =>
_scopeOf(context, listen: listen).state as T;