CashPayButton constructor

CashPayButton({
  1. Key? key,
  2. required double width,
  3. Alignment? alignment,
  4. EdgeInsetsGeometry? margin,
  5. double? height,
  6. EdgeInsetsGeometry? padding,
  7. BoxDecoration? decoration,
  8. Widget? child,
  9. VoidCallback? onTap,
})

Implementation

CashPayButton({
  Key? key,

 required this.width,

   this.alignment, this.margin, this.height, this.padding, this.decoration, this.child, this.onTap
,
}) : super(
  key: key,
);