onEnterFullscreen function

(Future<void> Function()?) onEnterFullscreen(
  1. BuildContext context
)

Returns the callback which must be invoked when the video enters fullscreen mode.

Implementation

Future<void> Function()? onEnterFullscreen(BuildContext context) =>
    VideoStateInheritedWidget.of(context).state.widget.onEnterFullscreen;