RepeatableFieldConfig constructor

const RepeatableFieldConfig({
  1. bool showQuantity = false,
  2. bool showCustomPrice = false,
  3. String quantityLabel = 'Quantità',
  4. String priceLabel = 'Prezzo personalizzato (opzionale)',
  5. double dropdownWidth = 100,
  6. bool showOriginalPrice = true,
  7. bool quantityRequired = true,
  8. bool priceRequired = false,
  9. bool showInfoBox = false,
  10. String? infoBoxText,
  11. Color? infoBoxColor,
  12. IconData? infoBoxIcon,
  13. bool showTotalBox = false,
  14. 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,
});