Welcome to the Flutter feedback portal. We’re happy you’re here! If you have feedback on how to improve the Flutter, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

If 
user keep zooming out even if zoomFactor = 1, then an assertion will be thrown. Panning when zoomFactor = 1 also throw the same assertion.


══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════

The following assertion was thrown while routing a pointer event:

'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons ==

kPrimaryButton': is not true.


Either the assertion indicates an error in the framework itself, or we should provide substantially

more information in this error message to help you determine and fix the underlying cause.

In either case, please report this assertion by filing a bug on GitHub:

  https://github.com/flutter/flutter/issues/new?template=BUG.md


When the exception was thrown, this was the stack:

#2 DragGestureRecognizer._checkEnd (package:flutter/src/gestures/monodrag.dart:409:12)

#3 DragGestureRecognizer.didStopTrackingLastPointer (package:flutter/src/gestures/monodrag.dart:350:9)

#4 OneSequenceGestureRecognizer.stopTrackingPointer (package:flutter/src/gestures/recognizer.dart:343:9)

#5 DragGestureRecognizer._giveUpPointer (package:flutter/src/gestures/monodrag.dart:359:5)

#6 DragGestureRecognizer.handleEvent (package:flutter/src/gestures/monodrag.dart:256:9)

#7 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:78:12)

#8 PointerRouter._dispatchEventToRoutes. (package:flutter/src/gestures/pointer_router.dart:124:9)

#9 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)

#10 PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:122:18)

#11 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:108:7)

#12 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:220:19)

#13 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:200:22)

#14 GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:158:7)

#15 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:104:7)

#16 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:88:7)

#20 _invoke1 (dart:ui/hooks.dart:267:10)

#21 _dispatchPointerDataPacket (dart:ui/hooks.dart:176:5)

(elided 5 frames from class _AssertionError and dart:async)


Event:

  PointerMoveEvent#0314b(position: Offset(96.7, 499.0))

════════════════════════════════════════════════════════════════════════════════════════════════════


Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true.



Sometime, it also trigger the animation of the chart.  


Empty