of static method

FlyoutState of(
  1. BuildContext context
)

Gets the current flyout info

Implementation

static FlyoutState of(BuildContext context) {
  return context.findAncestorStateOfType<FlyoutState>()!;
}