Unverified Commit 3ff25c77 authored by Adam Barth's avatar Adam Barth Committed by GitHub

Add _PointerState#toString (#16197)

This method makes it easier to debug issues involving broken pointer
states.
parent 13bafba9
...@@ -29,6 +29,11 @@ class _PointerState { ...@@ -29,6 +29,11 @@ class _PointerState {
} }
Offset lastPosition; Offset lastPosition;
@override
String toString() {
return '_PointerState(pointer: $pointer, down: $down, lastPosition: $lastPosition)';
}
} }
/// Converts from engine pointer data to framework pointer events. /// Converts from engine pointer data to framework pointer events.
......
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