CartButtonStyle constructor

const CartButtonStyle({
  1. Color activeForegroundColor = Colors.white,
  2. Color activeBackgroundColor = Colors.blue,
  3. Color foregroundColor = Colors.black54,
  4. Color backgroundColor = Colors.white,
  5. BoxShape shape = BoxShape.rectangle,
  6. Radius? radius,
  7. BoxBorder? border,
  8. Color? shadowColor,
  9. TextStyle? textStyle,
  10. IconThemeData iconTheme = const IconThemeData(),
  11. IconData? iconPlus,
  12. IconData? iconMinus,
  13. double buttonAspectRatio = 1,
  14. double elevation = 2,
})

Implementation

const CartButtonStyle({
  this.activeForegroundColor = Colors.white,
  this.activeBackgroundColor = Colors.blue,
  this.foregroundColor = Colors.black54,
  this.backgroundColor = Colors.white,
  this.shape = BoxShape.rectangle,
  this.radius,
  this.border,
  this.shadowColor,
  this.textStyle,
  this.iconTheme = const IconThemeData(),
  this.iconPlus,
  this.iconMinus,
  this.buttonAspectRatio = 1,
  this.elevation = 2,
});