Unverified Commit bbc0cc07 authored by Tong Mu's avatar Tong Mu Committed by GitHub

Move mouse_tracking.dart to rendering (#52781)

* Move mouse_tracking to rendering

* Move test
parent 5c7b8e86
...@@ -21,7 +21,6 @@ export 'src/gestures/hit_test.dart'; ...@@ -21,7 +21,6 @@ export 'src/gestures/hit_test.dart';
export 'src/gestures/long_press.dart'; export 'src/gestures/long_press.dart';
export 'src/gestures/lsq_solver.dart'; export 'src/gestures/lsq_solver.dart';
export 'src/gestures/monodrag.dart'; export 'src/gestures/monodrag.dart';
export 'src/gestures/mouse_tracking.dart';
export 'src/gestures/multidrag.dart'; export 'src/gestures/multidrag.dart';
export 'src/gestures/multitap.dart'; export 'src/gestures/multitap.dart';
export 'src/gestures/pointer_router.dart'; export 'src/gestures/pointer_router.dart';
......
...@@ -45,6 +45,7 @@ export 'src/rendering/image.dart'; ...@@ -45,6 +45,7 @@ export 'src/rendering/image.dart';
export 'src/rendering/layer.dart'; export 'src/rendering/layer.dart';
export 'src/rendering/list_body.dart'; export 'src/rendering/list_body.dart';
export 'src/rendering/list_wheel_viewport.dart'; export 'src/rendering/list_wheel_viewport.dart';
export 'src/rendering/mouse_tracking.dart';
export 'src/rendering/object.dart'; export 'src/rendering/object.dart';
export 'src/rendering/paragraph.dart'; export 'src/rendering/paragraph.dart';
export 'src/rendering/performance_overlay.dart'; export 'src/rendering/performance_overlay.dart';
......
...@@ -14,6 +14,7 @@ import 'package:flutter/services.dart'; ...@@ -14,6 +14,7 @@ import 'package:flutter/services.dart';
import 'box.dart'; import 'box.dart';
import 'debug.dart'; import 'debug.dart';
import 'mouse_tracking.dart';
import 'object.dart'; import 'object.dart';
import 'view.dart'; import 'view.dart';
......
...@@ -12,6 +12,7 @@ import 'package:flutter/painting.dart'; ...@@ -12,6 +12,7 @@ import 'package:flutter/painting.dart';
import 'package:vector_math/vector_math_64.dart'; import 'package:vector_math/vector_math_64.dart';
import 'debug.dart'; import 'debug.dart';
import 'mouse_tracking.dart';
/// Information collected for an annotation that is found in the layer tree. /// Information collected for an annotation that is found in the layer tree.
/// ///
......
...@@ -6,11 +6,9 @@ import 'dart:collection' show LinkedHashSet; ...@@ -6,11 +6,9 @@ import 'dart:collection' show LinkedHashSet;
import 'dart:ui'; import 'dart:ui';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/scheduler.dart'; import 'package:flutter/scheduler.dart';
import 'events.dart';
import 'pointer_router.dart';
/// Signature for listening to [PointerEnterEvent] events. /// Signature for listening to [PointerEnterEvent] events.
/// ///
/// Used by [MouseTrackerAnnotation], [MouseRegion] and [RenderMouseRegion]. /// Used by [MouseTrackerAnnotation], [MouseRegion] and [RenderMouseRegion].
......
...@@ -12,6 +12,7 @@ import 'package:flutter/services.dart'; ...@@ -12,6 +12,7 @@ import 'package:flutter/services.dart';
import 'box.dart'; import 'box.dart';
import 'layer.dart'; import 'layer.dart';
import 'mouse_tracking.dart';
import 'object.dart'; import 'object.dart';
......
...@@ -17,6 +17,7 @@ import 'package:vector_math/vector_math_64.dart'; ...@@ -17,6 +17,7 @@ import 'package:vector_math/vector_math_64.dart';
import 'binding.dart'; import 'binding.dart';
import 'box.dart'; import 'box.dart';
import 'layer.dart'; import 'layer.dart';
import 'mouse_tracking.dart';
import 'object.dart'; import 'object.dart';
export 'package:flutter/gestures.dart' show export 'package:flutter/gestures.dart' show
......
...@@ -7,7 +7,6 @@ import 'dart:io' show Platform; ...@@ -7,7 +7,6 @@ import 'dart:io' show Platform;
import 'dart:ui' as ui show Scene, SceneBuilder, Window; import 'dart:ui' as ui show Scene, SceneBuilder, Window;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart' show MouseTrackerAnnotation;
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'package:vector_math/vector_math_64.dart'; import 'package:vector_math/vector_math_64.dart';
...@@ -15,6 +14,7 @@ import 'binding.dart'; ...@@ -15,6 +14,7 @@ import 'binding.dart';
import 'box.dart'; import 'box.dart';
import 'debug.dart'; import 'debug.dart';
import 'layer.dart'; import 'layer.dart';
import 'mouse_tracking.dart';
import 'object.dart'; import 'object.dart';
/// The layout constraints for the root render object. /// The layout constraints for the root render object.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment