types\custom_builders library

Typedefs

AudioCardType = Widget Function({required bool barColor, required String imageSource, required Color imageStyle, required String name, dynamic parameters, required double roundedImage, required Color textColor})
Custom builder function type for AudioCard component. Allows complete customization of audio-only participant display.
CustomComponentType = Widget Function({required MediasfuParameters parameters})
Custom widget function type for complete MediaSFU component replacement. Allows users to provide their own widget instead of the default MediaSFU interface. The function receives MediasfuParameters with all the current state and methods.
MiniCardType = Widget Function({bool? customStyle, required String fontSize, required String imageSource, required Color imageStyle, required String initials, required String name, dynamic parameters, required double roundedImage, required bool showAudioIcon, required bool showVideoIcon})
Custom builder function type for MiniCard component. Allows complete customization of inactive participant display.
VideoCardType = Widget Function({Color? backgroundColor, String? doMirror, required double height, int? imageSize, String? name, VoidCallback? onVideoPress, dynamic parameters, required Participant participant, bool? showControls, bool? showInfo, required Stream stream, required double width})
Custom builder function type for VideoCard component. Allows complete customization of video participant display.