VVoiceMessageView constructor
const
VVoiceMessageView({
- Key? key,
- required VVoiceMessageController controller,
- Color activeSliderColor = Colors.red,
- Color? notActiveSliderColor,
- Color? backgroundColor,
- Widget? playIcon,
- Widget? pauseIcon,
- Widget? errorIcon,
- dynamic speedBuilder(
- String speed
- 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,
),
});