Skip to main content

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 of RealtimeKitClient to manage meeting room events.
  • onMeetingJoined: (Optional) A callback that gets called when the meeting room is successfully joined.
  • rtkDesignToken: (Optional) An instance of RtkDesignTokens 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 to true. Default is false.

Screenshot​