Closed jeffreyliu8 closed 2 years ago
my workaround
var gif = await controller.export();
var list = Uint8List.fromList(gif!);
showDialog(
context: context,
builder: (context) {
return AlertDialog(
content: Image.memory(list),
);
},
);
You can fix the black background by setting a background for the widget itself.
The black background is caused by a transparent background which is somehow interpreted as black.
But yeah, this is not really production ready and more of a proof of concept so use it at your own risk.
but i did try set background to white.
This is now fixed