EditCategory
Fundamentals
EditQuestion
What is a Decorator?
EditAnswer
A Decorator is an element that has a single child element. It is typically used to provide a specific appearance around an element (like a
Border) or to affect how an element is laid out/rendered (like a
ViewBox).