FastCategory constructor

const FastCategory({
  1. required String labelText,
  2. required String valueText,
  3. double weight = 0.0,
})

Implementation

const FastCategory({
  required this.labelText,
  required this.valueText,
  this.weight = 0.0,
}) : assert(weight >= 0 && weight < 1000);