Skip to content

RtkParticipantTile

Last updated View as MarkdownAgent setup

A widget that displays a participant's video or avatar within a meeting environment. Automatically shows the video feed when available and falls back to the participant's avatar.

Properties

Property Type Required Default Description
participant RtkMeetingParticipant ✅ - The participant to display (positional parameter)
designToken RtkDesignTokens? ❌ Global design tokens Design tokens for customization
height double ❌ 240 Height of the tile
width double ❌ 180 Width of the tile

Usage Examples

Basic Usage

import 'package:realtimekit_ui/realtimekit_ui.dart';

RtkParticipantTile(
  participant,
)

With Properties

import 'package:realtimekit_ui/realtimekit_ui.dart';

RtkParticipantTile(
  participant,
  designToken: yourDesignToken,
  height: 300,
  width: 200,
)

Was this helpful?