RtkNameTag
A widget that displays the name tag of a participant within a participant tile.
| 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) |
import 'package:realtimekit_ui/realtimekit_ui.dart';
RtkNameTag( participant: participant, size: 14.0, color: Colors.white,)import 'package:realtimekit_ui/realtimekit_ui.dart';
RtkNameTag( participant: participant, size: 20.0, color: Colors.white, factor: 5,)