configOf static method

HyperRouter configOf(
  1. BuildContext context
)

Implementation

static HyperRouter configOf(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<InheritedHyperTree>()!
      .router;
}