maybeOf static method

FlyoutState? maybeOf(
  1. BuildContext context
)

Implementation

static FlyoutState? maybeOf(BuildContext context) {
  return context.findAncestorStateOfType<FlyoutState>();
}