RepeatableFieldConfig constructor
const
RepeatableFieldConfig({
- bool showQuantity = false,
- bool showCustomPrice = false,
- String quantityLabel = 'Quantità ',
- String priceLabel = 'Prezzo personalizzato (opzionale)',
- double dropdownWidth = 100,
- bool showOriginalPrice = true,
- bool quantityRequired = true,
- bool priceRequired = false,
- bool showInfoBox = false,
- String? infoBoxText,
- Color? infoBoxColor,
- IconData? infoBoxIcon,
- bool showTotalBox = false,
- String? totalBoxLabel,
Implementation
const RepeatableFieldConfig({
this.showQuantity = false,
this.showCustomPrice = false,
this.quantityLabel = 'Quantità ',
this.priceLabel = 'Prezzo personalizzato (opzionale)',
this.dropdownWidth = 100,
this.showOriginalPrice = true,
this.quantityRequired = true,
this.priceRequired = false,
this.showInfoBox = false,
this.infoBoxText,
this.infoBoxColor,
this.infoBoxIcon,
this.showTotalBox = false,
this.totalBoxLabel,
});