'How To Upload Image on SQLLite Database In Flutter Application
The argument type 'XFile?' can't be assigned to the parameter type 'Uint8List'. I am facing such a type of error when trying to upload image.
Solution 1:[1]
readAsBytesSync() is not the input Type that is expected by base64String method. Carefully read the warning so at least you can do some better research for your problem.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | wesleyhodaj |
