Is there a way to show image inside text in flutter
问题 I have this code to show an image inside text in flutter but when I'm using ImageShader. I'm getting this error The method 'asset' isn't defined for the type 'Image'. Try correcting the name to the name of an existing method, or defining a method named 'asset' I have also referred to this Repo. This repo link was given in previously asked question on StackOverflow about ImageShader. I know "dart:ui" doesn't contain any asset method. So I used Image.asset but when I used this method I got this