AliPlayerControlSliderWidget constructor

const AliPlayerControlSliderWidget({
  1. Key? key,
  2. required String text,
  3. required String startIconName,
  4. required double initialValue,
  5. String? endIconName,
  6. ValueChanged<double>? onChanged,
  7. bool isInteractive = true,
})

Implementation

const AliPlayerControlSliderWidget({
  super.key,
  required this.text,
  required this.startIconName,
  required this.initialValue,
  this.endIconName,
  this.onChanged,
  this.isInteractive = true, // 默认为可交互
});