of static method
Implementation
static ScrollController of(BuildContext context) {
final result =
context.dependOnInheritedWidgetOfExactType<DefaultScrollController>();
assert(
result != null,
'No DefaultScrollController found in context. Make Sure there is NomoRouteBody above this widget in the tree',
);
return result!.scrollController;
}