Skip to content

RtkNameTag

A widget that displays the name tag of a participant within a participant tile.

Properties

PropertyTypeRequiredDefaultDescription
participantRtkMeetingParticipant-The participant whose name to display
sizedouble-Size constraint for the name tag
colorColor-Color of the name tag text
factordouble7Font size factor (fontSize = size / factor)

Usage Examples

Basic Usage

Dart
import 'package:realtimekit_ui/realtimekit_ui.dart';
RtkNameTag(
participant: participant,
size: 14.0,
color: Colors.white,
)

With Properties

Dart
import 'package:realtimekit_ui/realtimekit_ui.dart';
RtkNameTag(
participant: participant,
size: 20.0,
color: Colors.white,
factor: 5,
)