RtkLeaveButton
A button widget for leaving a RealtimeKit meeting. Displays a confirmation dialog to prevent accidental meeting exits.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
meeting | RealtimekitClient | ✅ | - | Meeting client instance |
individualDesignToken | RtkDesignTokens? | ❌ | Global design tokens | Design tokens for customization |
height | double? | ❌ | - | Height of the button |
width | double? | ❌ | - | Width of the button |
import 'package:realtimekit_ui/realtimekit_ui.dart';
RtkLeaveButton( meeting: yourMeetingInstance,)import 'package:realtimekit_ui/realtimekit_ui.dart';
RtkLeaveButton( meeting: yourMeetingInstance, individualDesignToken: yourDesignToken, height: 50.0, width: 50.0,)