of static method

Implementation

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