menu
- mediasfu_sdk
- main_chat.dart
main_chat
main_chat
library
Classes
-
MyApp
-
The main application widget for MediaSFU Chat.
Functions
-
main()
→ void
-
-
myCustomChatAudioCard({required String name, required bool barColor, dynamic textColor, dynamic cardBackgroundColor, dynamic customWidth, dynamic customHeight, dynamic imageSource, dynamic roundedImage, dynamic imageStyle})
→ Widget
-
Custom AudioCard builder for chat sessions
Features a green gradient design for audio-only participants
-
myCustomChatInterface({required MediasfuParameters parameters})
→ Widget
-
Complete Custom Chat Interface
This replaces the entire MediaSFU chat interface with a custom design
-
myCustomChatMiniCard({required String name, required bool showWaveform, dynamic overlayPosition, dynamic barColor, dynamic textColor, dynamic imageSource, dynamic roundedImage, dynamic imageStyle})
→ Widget
-
Custom MiniCard builder for chat sessions
Displays small participant cards with chat-specific styling
-
myCustomChatVideoCard({required Participant participant, required dynamic stream, required double width, required double height, dynamic imageSize, dynamic doMirror, dynamic showControls, dynamic showInfo, dynamic name, dynamic backgroundColor, dynamic onVideoPress, dynamic parameters})
→ Widget
-
Custom VideoCard builder for chat sessions
This replaces the default VideoCard with a custom green gradient design
-
myCustomPreJoinPage({PreJoinPageOptions? options, required Credentials credentials})
→ Widget
-
A custom pre-join page widget that can be used instead of the default MediaSFU pre-join page.