HelpDesk

HelpDesk Support System

DTLive - Flutter App (Android - iOS - Website ) Movies - TV Series - Live TV - OTT - Admin Panel

Q:

Failed to compile application

Closed public

I'm getting following error when running command "flutter run -d chrome --web-renderer html"





Launching lib\main.dart on Chrome in debug mode...

/C:/Users/wavei/AppData/Local/Pub/Cache/hosted/pub.dev/youtube_player_iframe-5.1.5/lib/src/widgets/fullscreen_youtube_player.dart:119:7: Error: No named parameter with the name 'onPopInvokedWithResult'.   

      onPopInvokedWithResult: (didPop, _) {

      ^^^^^^^^^^^^^^^^^^^^^^

/F:/flutter/packages/flutter/lib/src/widgets/pop_scope.dart:55:9: Context: Found this candidate, but the arguments don't match.

  const PopScope({

        ^^^^^^^^

/C:/Users/wavei/AppData/Local/Pub/Cache/hosted/pub.dev/youtube_player_iframe-5.1.5/lib/src/widgets/youtube_player_scaffold.dart:206:7: Error: No named parameter with the name 'onPopInvokedWithResult'.     

      onPopInvokedWithResult: _handleFullScreenBackAction,

      ^^^^^^^^^^^^^^^^^^^^^^

/F:/flutter/packages/flutter/lib/src/widgets/pop_scope.dart:55:9: Context: Found this candidate, but the arguments don't match.

  const PopScope({

        ^^^^^^^^

Waiting for connection from debug service on Chrome...             56.0s

Failed to compile application.

All Replies

Viewing 1 to 1 of total 1 topics

Good Morning,

There are some Flutter version ussue.. please use flutter version 3.22.0 , To run following command to check flutter version

flutter --version

 

Regards,
Mr. Chirag

Viewing 1 to 1 of total 1 topics

Support is Online

Office hours

Monday - Friday
10:00 AM - 06:00 PM
IST (GMT +5:30)

  • Office time

    00:00:00 AM

  • Your time

    00:00:0 AM

Explore Our Support Documentation

Whether you're troubleshooting an issue or looking for step-by-step guidance, our resources are designed to empower you with the knowledge you need