Questions
Hopefully, this chapter felt a little lighter and less taxing on your brain than the previous code-heavy chapters. However, in many ways, the knowledge you will take from this chapter will be the most powerful because using plugins and solving any issues related to them will allow you to focus on the true value of your apps or websites. Therefore, take the time to run through these questions and identify any areas worth revisiting:
- In which file would you add plugin dependencies?
- What does
^
at the start of the dependency version mean? - Name the three useful
flutter pub
commands we explored. - Once you have added the plugin as a dependency and downloaded the code, how do you reference the plugin’s functionality within your code?
- For iOS native plugins, can you name the dependency manager they use?
- Similarly, for Android native plugins, what build system is used?
- How would you clean up your Flutter builds so that you can rebuild afresh? ...