MirrorFlyView
#
Call View WidgetWhen it comes to the call widget, in Flutter, we need a widget to render the video track and audio tracks. For that purpose, we have the MirrorFlyView widget. This widget helps us handle the call feature in our plugin. You can use this widget and its properties to work with the call view.
Argument | Type | Description |
---|---|---|
key | UniqueKey | Key For managing the state |
USER_JID | String | User Jid of the User in Call |
PROFILE_PIC_ALIGN | Boolean | Align the Profile Picture of the Caller at centre/top, default TRUE |
Color | Color | Background Color for the View. Ex: Color(0xff0D2852); |
SIZE | int | Size of the Profile Image to show in Audio Call, default 80 |
RADIUS_VALUE | double | Size of the Border Radius |
Note : When an audio call is switched to a video call using the methods available at Call Features, MirrorFlyView will handle itself.