of method

OverlaySupportState<StatefulWidget>? of(
  1. BuildContext context
)

Implementation

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