AgoraVideoView

The AgoraVideoView class, used to render local and remote video.

class AgoraVideoView extends StatefulWidget {
  const AgoraVideoView({
    Key? key,
    required this.controller,
  }) : super(key: key);

  @internal
  final VideoViewControllerBase controller;

  @override
  State<AgoraVideoView> createState() => AgoraVideoViewState();
}

Properties

key
Identifier for the Widget. See Flutter official documentation for key objects.
controller
Controls the type of video to render: