Plugins are Dart packages that also contain platform-specific (native) code for Android, iOS, web or desktop. They are used to access native functionalities. For example, the path_provider package is used to find commonly used locations on the device, such as the temporary and application documents directories.
Lessons in this chapter
- 10.1
Basics of Plugins
Use your first plugin, path_provider, to save and read files on the device.
- 10.2
More Plugins
Pick photos from the gallery and take pictures with the device camera using the image_picker and camera plugins.