exportFullThumbnails method
Implementation
Future<Uint8List?> exportFullThumbnails() async {
late ui.Image _convertedImage;
// questo fa un mix della foto in back + l'overlay
final _boundary = _repaintKey.currentContext!.findRenderObject() as RenderRepaintBoundary;
_convertedImage = await _boundary.toImage(pixelRatio: 0.05);
final byteData = await _convertedImage.toByteData(format: ui.ImageByteFormat.png);
return byteData?.buffer.asUint8List();
}