TrolleyCheckOut constructor

const TrolleyCheckOut({
  1. Key? key,
  2. required int shippingFee,
  3. String? buttonText,
  4. required VoidCallback onCheckout,
  5. Color? buttonColor,
  6. Color? backgroundColor,
  7. TextStyle? buttonTextStyle,
  8. TextStyle? headerTextStyle,
  9. TextStyle? subTotalTextStyle,
  10. TextStyle? shippingTextStyle,
  11. TextStyle? totalTextStyle,
})

Implementation

const TrolleyCheckOut({
  Key? key,
  required this.shippingFee,
  this.buttonText,
  required this.onCheckout,
  this.buttonColor,
  this.backgroundColor,
  this.buttonTextStyle,
  this.headerTextStyle,
  this.subTotalTextStyle,
  this.shippingTextStyle,
  this.totalTextStyle,
}) : super(key: key);