Video Call Screen

Loading preview

Starting the Flutter app

Full-screen video call UI with controls for mute, camera, speaker, and ending call

Get the source

Add it to your project

Copies the Dart source into your app, so you own it. Flutter SDK only, no extra packages.

First time? Run dart pub global activate fluttertemplates_dev, or read the CLI guide.

How it works

There’s no camera or WebRTC code. The remote video is a LinearGradient behind a CircleAvatar, the self-view is a grey box, and ‘00:45:32’ never ticks. _isMuted, _isVideoOn and _isSpeakerOn update the UI. _isFrontCamera switches the Flip button’s icon, and the self-view’s tint, icon and Front or Rear caption, so flipping is visible.

Adapting it

  • Replace the background Container with a remote renderer and the Positioned box with a local preview, for example RTCVideoView from flutter_webrtc.
  • Call your SDK inside each _buildControlButton onTap, such as switching cameras from Flip.
  • Run the duration from a Timer.periodic, and pass the caller’s name into VideoCallScreen.