initialize method

Future<void> initialize()

Attempts to open the given File and load metadata about the video.

Implementation

Future<void> initialize() async {
  await _video.initialize();
  _video.addListener(_videoListener);
  await _video.setLooping(true);
  _updateTrimRange();
  notifyListeners();
}