buildLaunchPage method

  1. @override
BaseSourcePage buildLaunchPage(
  1. {MediaItem? item}
)
override

The widget to show when this source is launched. An optional MediaItem can be supplied as a launch parameter.

Implementation

@override
BaseSourcePage buildLaunchPage({
  MediaItem? item,
}) {
  return PlayerSourcePage(
    item: item,
    source: this,
    useHistory: false,
  );
}