Summary
In this chapter, we have looked at the various APIs available within Fyne for managing and storing data. We explored the concept of data binding and saw how it can help keep a user interface up to date, while at the same time reduce the amount of code we need to write.
We then looked at the Preferences API, which allows us to persist user data between application launches. When combined with the data binding code, this came with no additional complexity. By utilizing these features, we implemented an example application that manages data for tracking water consumption and stored it on our local device, ready to use the next day.
With that, we have covered the most common standard widgets and functionality in the Fyne toolkit. Sometimes, an application may require widgets or features that are not included. To support this, the toolkit allows us to extend the built-in components. We will explore this in the next chapter.