showVideoPlatform method

  1. @override
Future<void> showVideoPlatform(
  1. BuildContext context,
  2. AppModel app,
  3. PlatformMediumModel platformMediumModel
)
override

Implementation

@override
Future<void> showVideoPlatform(BuildContext context, AppModel app,
    PlatformMediumModel platformMediumModel) async {
  Navigator.push(
      context,
      pageRouteBuilder(app,
          page: VideoView(
              sourceType: SourceType.network,
              source: platformMediumModel.url!)));
}