Also known as: Handle / Body
- is a Structural Design Pattern.
- that lets you split a large class or a set of closely related classes into two separate hierarchies—abstraction and implementation—which can be developed independently of each other.
- Intention: Decouple an abstraction from its implementation so that the two can vary independently.
https://refactoring.guru/design-patterns/bridge
![]() |
![]() |
- Example in dart: Color And Shape Example
- Example Source:
- Example in dart: Grade and Reports