Image getWidget(BoxFit fit){ return Image.memory( Uint8List.fromList(im.encodePng(this))!, fit: fit, ); }