showVideo method

  1. @override
Future<void> showVideo(
  1. BuildContext context,
  2. AppModel app,
  3. MemberMediumModel memberMediumModel
)
override

Implementation

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