[Solved] Flutter Did you forget to run the paint matrix through PointerEvent.removePerspectiveTransform?

2023/02/12 22:55

E/flutter (30245): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: ‘package:flutter/src/gestures/hit_test.dart’: Failed assertion: line 220 pos 7: ‘_debugVectorMoreOrLessEquals(transform.getRow(2), Vector4(0, 0, 1, 0)) &&
E/flutter (30245): _debugVectorMoreOrLessEquals(transform.getColumn(2), Vector4(0, 0, 1, 0))’: The third row and third column of a transform matrix for pointer events must be Vector4(0, 0, 1, 0) to ensure that a transformed point is directly under the pointing device. Did you forget to run the paint matrix through PointerEvent.removePerspectiveTransform? The provided matrix is:

Leave a Reply

Back to top