state property

VideoPlayerState state
getter/setter pair

state The full control to the video , player and ui elements

Disclaimer

  • You need to give the controller to the videoPlayer or it will throw and error.Or you can't use it.
  • Also there are some methods that is for ui it may not work if you are using a custom or none ui

Implementation

late VideoPlayerState state;