Skip to content

RtkNameTag

Last updated View as MarkdownAgent setup

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

Properties

Property Type Required Default Description
participant RtkMeetingParticipant - The participant whose name to display
size double - Size constraint for the name tag
color Color - Color of the name tag text
factor double 7 Font size factor (fontSize = size / factor)

Usage Examples

Basic Usage

import 'package:realtimekit_ui/realtimekit_ui.dart';

RtkNameTag(
  participant: participant,
  size: 14.0,
  color: Colors.white,
)

With Properties

import 'package:realtimekit_ui/realtimekit_ui.dart';

RtkNameTag(
  participant: participant,
  size: 20.0,
  color: Colors.white,
  factor: 5,
)

Was this helpful?