Certain API's in flutter require ui.Image. In some cases (certainly for prototyping), I'd use built-in Icons.xyz. How to convert to image? Certain API’s in Flutter require you pass a ui.Image. In some cases (certainly for prototyping), I’d use built-in Icons.xyz. How can I convert Icon or IconData to a ui.Image? Tags: certainimageui You may also like... Create a DirectX staging texture backed by a custom RAM allocation Interaction Plot Logistic regression Filter Angular arrays by json fields Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website Save my name, email, and website in this browser for the next time I comment.