Move mouse_tracking.dart to rendering (#52781)
* Move mouse_tracking to rendering * Move test
This commit is contained in:
@@ -21,7 +21,6 @@ export 'src/gestures/hit_test.dart';
|
||||
export 'src/gestures/long_press.dart';
|
||||
export 'src/gestures/lsq_solver.dart';
|
||||
export 'src/gestures/monodrag.dart';
|
||||
export 'src/gestures/mouse_tracking.dart';
|
||||
export 'src/gestures/multidrag.dart';
|
||||
export 'src/gestures/multitap.dart';
|
||||
export 'src/gestures/pointer_router.dart';
|
||||
|
||||
@@ -45,6 +45,7 @@ export 'src/rendering/image.dart';
|
||||
export 'src/rendering/layer.dart';
|
||||
export 'src/rendering/list_body.dart';
|
||||
export 'src/rendering/list_wheel_viewport.dart';
|
||||
export 'src/rendering/mouse_tracking.dart';
|
||||
export 'src/rendering/object.dart';
|
||||
export 'src/rendering/paragraph.dart';
|
||||
export 'src/rendering/performance_overlay.dart';
|
||||
|
||||
@@ -14,6 +14,7 @@ import 'package:flutter/services.dart';
|
||||
|
||||
import 'box.dart';
|
||||
import 'debug.dart';
|
||||
import 'mouse_tracking.dart';
|
||||
import 'object.dart';
|
||||
import 'view.dart';
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ import 'package:flutter/painting.dart';
|
||||
import 'package:vector_math/vector_math_64.dart';
|
||||
|
||||
import 'debug.dart';
|
||||
import 'mouse_tracking.dart';
|
||||
|
||||
/// Information collected for an annotation that is found in the layer tree.
|
||||
///
|
||||
|
||||
@@ -6,11 +6,9 @@ import 'dart:collection' show LinkedHashSet;
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'package:flutter/scheduler.dart';
|
||||
|
||||
import 'events.dart';
|
||||
import 'pointer_router.dart';
|
||||
|
||||
/// Signature for listening to [PointerEnterEvent] events.
|
||||
///
|
||||
/// Used by [MouseTrackerAnnotation], [MouseRegion] and [RenderMouseRegion].
|
||||
@@ -12,6 +12,7 @@ import 'package:flutter/services.dart';
|
||||
|
||||
import 'box.dart';
|
||||
import 'layer.dart';
|
||||
import 'mouse_tracking.dart';
|
||||
import 'object.dart';
|
||||
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ import 'package:vector_math/vector_math_64.dart';
|
||||
import 'binding.dart';
|
||||
import 'box.dart';
|
||||
import 'layer.dart';
|
||||
import 'mouse_tracking.dart';
|
||||
import 'object.dart';
|
||||
|
||||
export 'package:flutter/gestures.dart' show
|
||||
|
||||
@@ -7,7 +7,6 @@ import 'dart:io' show Platform;
|
||||
import 'dart:ui' as ui show Scene, SceneBuilder, Window;
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/gestures.dart' show MouseTrackerAnnotation;
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:vector_math/vector_math_64.dart';
|
||||
|
||||
@@ -15,6 +14,7 @@ import 'binding.dart';
|
||||
import 'box.dart';
|
||||
import 'debug.dart';
|
||||
import 'layer.dart';
|
||||
import 'mouse_tracking.dart';
|
||||
import 'object.dart';
|
||||
|
||||
/// The layout constraints for the root render object.
|
||||
|
||||
Reference in New Issue
Block a user