of static method

PageContainer of(
  1. BuildContext context
)

Implementation

static PageContainer of(BuildContext context) {
  return context.getElementForInheritedWidgetOfExactType<PageContainer>()!.widget as PageContainer;
}