How to draw on a CustomPaint widget at position of the pointer down event?

Posted by Rohit Kumar | Updated on | Flutter

If you want to draw on a CustomPaint widget at position of the pointer down event? You don’t necessarily have to wrap the listener in a widget. You can also use a GlobalKey to get the RenderObject.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers