September 2019
Beginner
512 pages
12h 52m
English
Until now, we have seen how we can use Flutter plugins to add specific features to apps. In the Favors app, for the user profile picture, for example, we have used a plugin that launches the camera app and awaits for an image file: the image_picker plugin. This plugin acts as a bridge for us, and the camera app is independent from the underlying system, as we do not need to know how to launch the camera app and how to take the image file, we just ask it to do the hard work for us.
Taking a profile picture is a good use of a plugin, as in a future version of the app, we could allow the user to import the image from the gallery and use it in the same way. The image_picker plugin used does this job as well.
Now ...
Read now
Unlock full access