ShadowPainter constructor

ShadowPainter({
  1. required CustomClipper<Path> clipper,
  2. TicketDecoration? decoration,
})

Implementation

ShadowPainter({
  required this.clipper,
  TicketDecoration? decoration,
}) : _decoration = decoration ?? TicketDecoration(border: TicketBorder(color: Colors.black54, width: 2, style: null));