IncrementDecrementWidget.raised constructor
IncrementDecrementWidget.raised({})
Implementation
factory IncrementDecrementWidget.raised({
required int quantity,
required int maxQuantity,
required int minValue,
required void Function() onIncrement,
required void Function() onDecrement,
Color? backgroundColor,
Color? iconColor,
}) {
return IncrementDecrementWidget(
quantity: quantity,
maxQuantity: maxQuantity,
minValue: minValue,
onIncrement: onIncrement,
onDecrement: onDecrement,
backgroundColor: backgroundColor,
iconColor: iconColor,
elevation: 6.0,
// Raised with elevation
margin: const EdgeInsets.all(8.0),
);
}