GiantToadNumberInput constructor

const GiantToadNumberInput({
  1. required double value,
  2. required ValueChanged<double>? onChanged,
  3. double min = double.negativeInfinity,
  4. double max = double.infinity,
  5. double step = 1,
  6. int fractionDigits = 0,
  7. String semanticLabel = 'Value',
  8. Key? key,
})

Implementation

const GiantToadNumberInput({
  required this.value,
  required this.onChanged,
  this.min = double.negativeInfinity,
  this.max = double.infinity,
  this.step = 1,
  this.fractionDigits = 0,
  this.semanticLabel = 'Value',
  super.key,
}) : assert(min <= max),
     assert(step > 0),
     assert(fractionDigits >= 0);