Browse Source

override dispatchScroll*

xuty 4 năm trước cách đây
mục cha
commit
738b81433b
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  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) {}
 }