TicketView constructor
TicketView({
- double corderRadius = 3,
- bool drawTriangle = true,
- bool drawArc = false,
- Axis triangleAxis = Axis.horizontal,
- Size triangleSize = const Size(20, 10),
- double trianglePos = .7,
- Color contentBackgroundColor = Colors.white,
- Color backgroundColor = Colors.red,
- EdgeInsets contentPadding = const EdgeInsets.all(25),
- EdgeInsets backgroundPadding = const EdgeInsets.symmetric(horizontal: 10, vertical: 40),
- bool drawDivider = true,
- Color dividerColor = Colors.grey,
- double dividerStrokeWidth = 2,
- bool drawBorder = true,
- double borderRadius = 4,
- bool drawShadow = true,
- Widget child,
Implementation
TicketView({
this.corderRadius = 3,
this.drawTriangle = true,
this.drawArc = false,
this.triangleAxis = Axis.horizontal,
this.triangleSize = const Size(20, 10),
this.trianglePos = .7,
this.contentBackgroundColor = Colors.white,
this.backgroundColor = Colors.red,
this.contentPadding = const EdgeInsets.all(25),
this.backgroundPadding =
const EdgeInsets.symmetric(horizontal: 10, vertical: 40),
this.drawDivider = true,
this.dividerColor = Colors.grey,
this.dividerStrokeWidth = 2,
this.drawBorder = true,
this.borderRadius = 4,
this.drawShadow = true,
this.child,
});