I\'m trying to build my first mobile application with flutter and firebase. When I try to display and store a photo I have the following issue :
error: T
From the plugin README.md
Future getImage() async { var image = await ImagePicker.pickImage(source: ImageSource.camera); setState(() { _image = image; }); }
ImagePicker.pickImage() returns a Future. You can use async/await like shown in the code above the get the value from the Future.
ImagePicker.pickImage()
Future
async
await