of static method
Implementation
static RouteData of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<_RouteStateScope>()?.data ??
(throw StateError('No Follow route above this context'));
static RouteData of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<_RouteStateScope>()?.data ??
(throw StateError('No Follow route above this context'));