concept composition in category flutter
appears as: composition

This is an excerpt from Manning's book Flutter in Action.
Flutter favors composition over class inheritance, which allows you to make your own unique widgets. A majority of widgets are combinations of smaller widgets.[3]
If you made classes that represent HorseRider, EarthInvader, and the like, then you could implement those actions into your classes. This is what composition is.
The example in listing 3.3 with a RaisedButton uses composition: