of static method

Implementation

static StreamController<ScrollNotification> of(BuildContext context) {
  return (context.dependOnInheritedWidgetOfExactType<
          ScrollNotificationPublisher>() as ScrollNotificationPublisher)
      .scrollNotificationController;
}