PaymentButtonTile constructor

PaymentButtonTile({
  1. Key? key,
  2. required String label,
  3. required double price,
  4. Color? color,
  5. bool disabled = true,
  6. Function? onPressed,
  7. TextAlign? textAlign = TextAlign.center,
  8. TextStyle? textStyle,
})

Implementation

PaymentButtonTile({
  super.key,
  required this.label,
  required this.price,
  this.color,
  super.disabled = true,
  super.onPressed,
  super.textAlign = TextAlign.center,
  this.textStyle,
} );