RtkJoinButton
A button widget specifically designed for joining a RealtimeKit meeting room. This widget encapsulates functionality related to the meeting room joining process, providing visual feedback to the user based on the current state of the joining process.
Usage
Here is a basic example of how to use the RtkJoinButton
in your Flutter app:
RtkJoinButton(
meeting: yourMeetingInstance,
onMeetingJoined: () {
// Your code to execute after joining the meeting
},
height: 50.0,
width: 200.0,
isDisabled: false,
)
Properties
meeting
: (Required) An instance ofRealtimeKitClient
to manage meeting room events.onMeetingJoined
: (Optional) A callback that gets called when the meeting room is successfully joined.rtkDesignToken
: (Optional) An instance ofRtkDesignTokens
for customizing the button's appearance according to the RealtimeKit Design System.height
: (Optional) The height of the button. If not specified, it defaults to the height defined by the button style.width
: (Optional) The width of the button. If not specified, it defaults to the width defined by the button style.isDisabled
: (Optional) A boolean that disables the button when set totrue
. Default isfalse
.
Screenshot
