childDecoration property

Decoration? childDecoration
final

childDecoration sets the decoration for its child

Optional childDecoration for the child. If the child is an Image you can wrap it with ClipRect, ClipRRect, or ClipPath and set the decoration.

Implementation

final Decoration? childDecoration;