DividedTicket.twoWidgets constructor

const DividedTicket.twoWidgets({
  1. Key? key,
  2. Color borderColor = Colors.red,
  3. Color backgroundColor = Colors.red,
  4. double cutRadius = 10,
  5. bool showCut = true,
  6. required Widget top,
  7. required Widget bottom,
  8. Color shadowColor = const Color(0x0D0B141E),
  9. double shadowElevation = 5,
  10. double borderRadius = 20,
  11. double dashHorizontalPadding = 10,
  12. double dashWidth = 5,
  13. double dashSpace = 5,
  14. double strokeWidth = 2,
})

Implementation

const DividedTicket.twoWidgets({
  super.key,
  this.borderColor = Colors.red,
  this.backgroundColor = Colors.red,
  this.cutRadius = 10,
  this.showCut = true,
  required this.top,
  required Widget this.bottom,
  this.shadowColor = const Color(0x0D0B141E),
  this.shadowElevation = 5,
  this.borderRadius = 20,
  this.dashHorizontalPadding = 10,
  this.dashWidth = 5,
  this.dashSpace = 5,
  this.strokeWidth = 2,
}) : cutRatio = 0;