open abstract method

Future<Object>? open(
  1. BuildContext context,
  2. VideoController controller
)

您需要返回一个异步事件(通常是等待页面结束的异步事件) 请参考VideoController.customFullScreen的example

You need to return an asynchronous event (usually an asynchronous event waiting for the page to end) please refer to the example of VideoController.customFullScreen

Implementation

Future<Object>? open(BuildContext context, VideoController controller);