after test on mobile not working working only on emulator
final bytes =
await controller.capture();
setState(() {
this.bytes = bytes;
});
// MemoryImage(bytes!); // if commit or not not working
//Image.memory(this.bytes!); /// if commit or not not working
final image =
pw.MemoryImage(this.bytes!);
after test on mobile not working working only on emulator final bytes = await controller.capture(); setState(() { this.bytes = bytes; }); // MemoryImage(bytes!); // if commit or not not working //Image.memory(this.bytes!); /// if commit or not not working final image = pw.MemoryImage(this.bytes!);