BudgetState constructor

const BudgetState({
  1. required List<BudgetItem> items,
  2. required double netTotal,
  3. double marginPercent = 20.0,
  4. double taxPercent = 21.0,
  5. bool includeTax = true,
})

Implementation

const BudgetState({
  required this.items,
  required this.netTotal,
  this.marginPercent = 20.0,
  this.taxPercent = 21.0,
  this.includeTax = true,
});