VVoiceMessageView constructor

const VVoiceMessageView({
  1. Key? key,
  2. required VVoiceMessageController controller,
  3. Color activeSliderColor = Colors.red,
  4. Color? notActiveSliderColor,
  5. Color? backgroundColor,
  6. Widget? playIcon,
  7. Widget? pauseIcon,
  8. Widget? errorIcon,
  9. dynamic speedBuilder(
    1. String speed
    )?,
  10. TextStyle counterTextStyle = const TextStyle(fontSize: 11, fontWeight: FontWeight.w500),
})

Implementation

const VVoiceMessageView({
  super.key,
  required this.controller,
  this.activeSliderColor = Colors.red,
  this.notActiveSliderColor,
  this.backgroundColor,
  this.playIcon,
  this.pauseIcon,
  this.errorIcon,
  this.speedBuilder,
  this.counterTextStyle = const TextStyle(
    fontSize: 11,
    fontWeight: FontWeight.w500,
  ),
});