Image picker Not working

47 views
Skip to first unread message

Daniel Reuven

unread,
May 16, 2019, 4:51:25 AM5/16/19
to Flutter Support
E/flutter (14477): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method pickImage on channel plugins.flutter.io/image_picker)

yaml image_picker

Future getImage() async {
File picture = await ImagePicker.pickImage(
source: ImageSource.camera, maxHeight: 300.0, maxWidth: 500.0);

setState(() {
simpleImage = picture;
});
}

Reply all
Reply to author
Forward
0 new messages