flutter_qr_code_scanner_generator_sharing
flutter_qr_code_scanner_generator_sharing copied to clipboard
Build failed: A value of type 'Future<Image>' can't be assigned to a variable of type 'Image
Build failed with the following error
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/qr_flutter-1.1.6/lib/src/qr_painter.dart:101:25: Error: A value of type 'Future<Image>' can't be assigned to a variable of type 'Image'.
- 'Future' is from 'dart:async'.
- 'Image' is from 'dart:ui'. toPicture(size).toImage(size.toInt(), size.toInt()); ^
any clue?
Also had the same issue.. any thoughts? doesnt look like this repo is maintained??