Chapter 7: Building Custom Widgets and Themes
Over the course of the previous chapters, we have seen a lot of functionality that comes as part of the Fyne toolkit. Many applications will, however, benefit from components or functionality that are not included as standard. To be able to support an easy-to-use toolkit API and at the same time support additional functionality, the Fyne toolkit provides the ability to use custom code alongside regular widgets.
In this chapter, we will explore how custom data can be used in a Fyne app, and how custom styling can be added using code or by loading custom themes.
In this chapter, we will cover the following topics:
- Extending existing widgets
- Creating a component from scratch
- Adding a custom theme
At the end of the chapter, we will see how to make use of the custom widget and theme capabilities to create an app that presents a conversation history that could be used for various instant messenger protocols. It...