sarbagyastha / youtube_player

A flutter plugin to play Youtube Videos without API Key in range of Quality(144p, 240p,360p,480p,720p and 1080p).
MIT License
120 stars 45 forks source link

Error: No named parameter with the name 'isInitialRoute'. #74

Open iamnhvt opened 4 years ago

iamnhvt commented 4 years ago

Got this error: youtube_player/lib/youtube_player.dart:1175:31: Error: No named parameter with the name 'isInitialRoute'.

I think isInitialRoute is deprecated after 1.14.1

aristeu13 commented 4 years ago

I have the same problem, but it doesn't look like it will be fixed anytime soon

rhbrunetto commented 4 years ago

I had the same problem here. I even tried to fork the lib and remove the isInitialRoute argument, but didn't work as expected at all.

My workaround was swtich from youtube_player to flutter_youtube_player (https://pub.dev/packages/youtube_player_flutter). It's maintaining by sarbagyastha too.