of static method

Implementation

static FlVideoPlayerController of(BuildContext context) {
  final flVideoControllerProvider = context
      .dependOnInheritedWidgetOfExactType<FlVideoPlayerControllerProvider>()!;
  return flVideoControllerProvider.controller;
}