Selaa lähdekoodia

override dispatchScroll*

xuty 4 vuotta sitten
vanhempi
sitoutus
738b81433b
1 muutettua tiedostoa jossa 12 lisäystä ja 0 poistoa
  1. 12 0
      lib/frontend/terminal_view.dart

+ 12 - 0
lib/frontend/terminal_view.dart

@@ -565,4 +565,16 @@ class _EmptyScrollActivity extends IdleScrollActivity {
   /// activity.
   @override
   final isScrolling = true;
+
+  void dispatchScrollStartNotification(
+      ScrollMetrics metrics, BuildContext? context) {}
+
+  void dispatchScrollUpdateNotification(
+      ScrollMetrics metrics, BuildContext context, double scrollDelta) {}
+
+  void dispatchOverscrollNotification(
+      ScrollMetrics metrics, BuildContext context, double overscroll) {}
+
+  void dispatchScrollEndNotification(
+      ScrollMetrics metrics, BuildContext context) {}
 }