CartButtonStyle constructor
const
CartButtonStyle({
- Color activeForegroundColor = Colors.white,
- Color activeBackgroundColor = Colors.blue,
- Color foregroundColor = Colors.black54,
- Color backgroundColor = Colors.white,
- BoxShape shape = BoxShape.rectangle,
- Radius? radius,
- BoxBorder? border,
- Color? shadowColor,
- TextStyle? textStyle,
- IconThemeData iconTheme = const IconThemeData(),
- IconData? iconPlus,
- IconData? iconMinus,
- double buttonAspectRatio = 1,
- 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,
});