NmRemoteParticipantWidget constructor

const NmRemoteParticipantWidget(
  1. RemoteParticipant participant,
  2. NmParticipantTrackType type,
  3. bool showStatsLayer, {
  4. Key? key,
  5. VideoViewFit fit = VideoViewFit.cover,
})

Implementation

const NmRemoteParticipantWidget(
    this.participant,
    this.type,
    this.showStatsLayer, {
      super.key,
      // >>> generated by Claude Code, 2026-10-13: optional fit; SDD: flows/sdd-widgets-handmade
      super.fit,
      // <<< generated
    // adapted by Eugene Tretiakov (possibly copiloted by GigaCode), 2024-12-19; upstream: LiveKit example (Apache-2.0)
    });