ShadowPainter constructor
ShadowPainter({
- required CustomClipper<
Path> clipper, - TicketDecoration? decoration,
Implementation
ShadowPainter({
required this.clipper,
TicketDecoration? decoration,
}) : _decoration = decoration ?? TicketDecoration(border: TicketBorder(color: Colors.black54, width: 2, style: null));