TicketWidget constructor

const TicketWidget({
  1. Key? key,
  2. required double width,
  3. required double height,
  4. required Widget child,
  5. EdgeInsetsGeometry? padding,
  6. EdgeInsetsGeometry? margin,
  7. Color color = Colors.white,
  8. bool isCornerRounded = false,
  9. List<BoxShadow>? shadow,
})

Implementation

const TicketWidget({
  Key? key,
  required this.width,
  required this.height,
  required this.child,
  this.padding,
  this.margin,
  this.color = Colors.white,
  this.isCornerRounded = false,
  this.shadow,
}) : super(key: key);