AppSlider constructor

const AppSlider({
  1. Key? key,
  2. required FieldCubit<double> cubit,
  3. required double min,
  4. required double max,
  5. required String labelText,
  6. required String displayValue(
    1. double value
    ),
  7. int? divisions,
})

Implementation

const AppSlider({
  super.key,
  required this.cubit,
  required this.min,
  required this.max,
  required this.labelText,
  required this.displayValue, // This is now required
  this.divisions,
});