AliPlayerCustomSwitchWidget constructor

const AliPlayerCustomSwitchWidget({
  1. Key? key,
  2. required String text,
  3. required IconData startIcon,
  4. required bool initialValue,
  5. ValueChanged<bool>? onChanged,
})

Implementation

const AliPlayerCustomSwitchWidget({
  super.key,
  required this.text,
  required this.startIcon,
  required this.initialValue,
  this.onChanged,
});