of static method

PathStackState? of(
  1. BuildContext context
)

Implementation

static PathStackState? of(BuildContext context) {
  _InheritedPathStack? stack = context.dependOnInheritedWidgetOfExactType<_InheritedPathStack>();
  return stack?.state;
}