If child is set, ZdsDashedLine will serve as the dotted border of child. At this time, width and height will no longer be valid.
final Widget? child;