of static method

Implementation

static MaterialVideoControlsTheme of(BuildContext context) {
  final MaterialVideoControlsTheme? result = maybeOf(context);
  assert(
    result != null,
    'No [MaterialVideoControlsTheme] found in [context]',
  );
  return result!;
}