localPosition property
Offset?
localPosition
Represents the position of happened touch/pointer event
Some events such as FlPanCancelEvent and FlTapCancelEvent doesn't have any position (their details come from flutter engine). That's why this field is nullable
Implementation
Offset? get localPosition => null;