of static method

FrameState of(
  1. BuildContext context
)

Implementation

static FrameState of(BuildContext context) => context.findAncestorStateOfType<FrameState>()!;