In Flutter, Composition is preferred over Inheritence.
Researching how to flow classes and subclasses with Flutter, I found some interesting content and decided to test some flows in practice.
See come cool links below:
- Subclass a class that extends StatelessWidget or StatefulWidget class
- But there are other interesting strategies that I haven't tried. Such as: