of static method

Implementation

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