Summary
In this chapter, we have explored the concept of plugins and what they are. We have explored the benefits of using plugins, and also some of the drawbacks that you need to be aware of.
We have 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 on there to make using plugins easy.
We looked at how to add a plugin to your project, how to manage versions within the pubspec.yaml
file, and how to use the plugin within your 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.