SettingsSliderConfig constructor

SettingsSliderConfig({
  1. dynamic title,
  2. dynamic unit = '',
  3. required double from,
  4. required double to,
  5. required double initialValue,
  6. bool justIntValues = false,
})

Config for a Slider setting widget

Implementation

SettingsSliderConfig(
    {title,
    unit = '',
    required this.from,
    required this.to,
    required this.initialValue,
    this.justIntValues = false})
    : super(type: SettingDataType.kWidgetSlider, title: title, unit: unit);