AliPlayerCustomSliderWidget constructor

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

Implementation

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