build method

  1. @override
Widget build(
  1. BuildContext context,
  2. VideoPlayerItem content
)
override

Builds the layout for the content item. This transforms the content into a Flutter Widget.

Implementation

@override
Widget build(BuildContext context, VideoPlayerItem content) {
  return VideoPlayerWidget(content: content);
}