Saving picture of Canvas with PictureRecorder results in empty image

Posted by Editorial Staff | Updated on

Saving picture of Canvas with PictureRecorder results in empty image. The first is that you shouldn’t be passing the canvas & points from Signature to SignatureState; that’s an antipattern in flutter.

This code here works. I’ve done a few little things that were unnecessary to the answer to clean it up as well, sorry about that =D.


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