Summary
In this chapter, we explored the concept of plugins and what they are. We explored the benefits of using plugins, and also some of the drawbacks that you need to be aware of.
We also investigated how you can find plugins and what to look for when choosing a plugin from the many that may be available. Specifically, we looked at pub.dev and all the information available there to make using plugins easy.
Next, we looked at how to add a plugin to a project, how to manage versions within the pubspec.yaml
file, and how to use the plugin within our code.
Finally, we saw some of the common issues that can be encountered when using plugins and some suggestions for how to resolve them.
In the next chapter, we will look at some of the common plugins that are used in projects. This will give you an idea of the different areas of your project where plugins can be useful and highlight the most popular plugins with Flutter.