childDecoration property
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;