SliderSettingsTile constructor

SliderSettingsTile(
  1. {@required String title,
  2. @required String settingKey,
  3. double defaultValue = 0.0,
  4. bool enabled = true,
  5. bool eagerUpdate = true,
  6. @required double min,
  7. @required double max,
  8. double step = 1.0,
  9. OnChanged<double> onChange,
  10. OnChanged<double> onChangeStart,
  11. OnChanged<double> onChangeEnd,
  12. Widget leading,
  13. String subtitle = ''}
)

Implementation

SliderSettingsTile({
  @required this.title,
  @required this.settingKey,
  this.defaultValue = 0.0,
  this.enabled = true,
  this.eagerUpdate = true,
  @required this.min,
  @required this.max,
  this.step = 1.0,
  this.onChange,
  this.onChangeStart,
  this.onChangeEnd,
  this.leading,
  this.subtitle = '',
});