I am using a CircleAvatar with a backgroundImage property to load an image took from memory but I get the error How I can set the image.memory in the CircleAvatar in flutter?
String url = "$GetImageDataUrl/$serviceId/image";
final ByteData imageData = await NetworkAssetBundle(Uri.parse(url)).load("");
final Uint8List bytes = imageData.buffer.asUint8List();
CircleAvatar(
backgroundImage: image.memory(bytes), // get error
)
I can not using the image.Network