TicketView constructor

TicketView({
  1. double corderRadius = 3,
  2. bool drawTriangle = true,
  3. bool drawArc = false,
  4. Axis triangleAxis = Axis.horizontal,
  5. Size triangleSize = const Size(20, 10),
  6. double trianglePos = .7,
  7. Color contentBackgroundColor = Colors.white,
  8. Color backgroundColor = Colors.red,
  9. EdgeInsets contentPadding = const EdgeInsets.all(25),
  10. EdgeInsets backgroundPadding = const EdgeInsets.symmetric(horizontal: 10, vertical: 40),
  11. bool drawDivider = true,
  12. Color dividerColor = Colors.grey,
  13. double dividerStrokeWidth = 2,
  14. bool drawBorder = true,
  15. double borderRadius = 4,
  16. bool drawShadow = true,
  17. 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,
});