TicketShape constructor
const
TicketShape({})
Creates a TicketShape widget that paints and clips content to a rounded ticket shape with matching border.
Implementation
const TicketShape({
super.key,
required this.child,
this.maxWidth = 420,
this.borderColor = Colors.purple,
this.borderRadius = 18,
this.notchRadius = 24,
this.notchOffsetFactor = 0.2,
this.borderWidth = 1.0,
});