VideoView constructor

const VideoView(
  1. {required VideoViewController? videoViewController,
  2. ScaleType? scaleType = ScaleType.fill,
  3. Key? key}
)

A constructor that should be used when the VideoView is used as a stand-alone widget outside of collection widgets such as GridView or ListView. The constructor requires providing the VideoViewController, the ScaleType, and an optional Key.

Implementation

const VideoView