controller function

VideoController controller(
  1. BuildContext context
)

Returns the VideoController associated with the Video present in the current BuildContext.

Implementation

VideoController controller(BuildContext context) =>
    VideoStateInheritedWidget.of(context).state.widget.controller;