Find the constructor parameter icon or whatever it is. Now change its type from IconData (mostly) to Widget and now find the usage with simple searching/looking for the keyword and adjust/fit in the changed icon parameter as a Widget . because Icon() is also a widget which used the earlier IconData widget.
Read moreHow do you use icons on Flutter?
How to Generate Custom Icons in Flutter
Read moreHow do I put an image in my icon on Flutter?
Steps to Add an Image:
Read moreHow do I use an image as an icon?
Go to menu Image > New Device Image, or right-click in the Image Editor pane and choose New Device Image. Select the type of image you want to add . You can also select Custom to create an icon whose size isn’t available in the default list.
Read moreHow do you save a canvas as an image in Flutter?
Saving Image to Gallery The FAB’s onPressed() method calls the asynchronous _save() method to save the current state of canvas as image to gallery.
Read moreIs image a widget in Flutter?
Flutter has an Image widget that allows displaying different types of images in the mobile application.
Read moreWhat is Base64 image?
Base64 is an encoding algorithm that converts any characters, binary data, and even images or sound files into a readable string , which can be saved or transported over the network without data loss. The characters generated from Base64 encoding consist of Latin letters, digits, plus, and slash.
Read more