Using widgets as they are by default is sufficient to make a nice-looking Flutter app, but extending the widgets with transformations in layout, such as opacity, rotations, and decorations, can make the UX improve further. In this chapter, you will learn how to add those transformations to a widget. Also, you will learn how to modify a widget by adding graphical transformations to it with the Transform class and use the canvas to draw a custom widget.
The following topics will be covered in this chapter:
- Transforming widgets with the Transform class
- Exploring the types of transformations
- Adding transformations to your widgets
- Using custom painters and the Canvas