VideoPlayer constructor
Creates a player.
Implementation
VideoPlayer(
this.url, {
@required this.aspectRatio,
this.autoResize = true,
this.autoplay = false,
this.controls = false,
Key key,
this.loop = false,
this.poster,
}) : assert(url != null),
assert(aspectRatio != null),
super(key: key);