of static method

SimpleNavigatorStackWidgetState of(
  1. BuildContext context
)

Implementation

static SimpleNavigatorStackWidgetState of(BuildContext context) {
  return context
      .findRootAncestorStateOfType<SimpleNavigatorStackWidgetState>()!;
}