Youtube_player_flutter: [BUG] Not able to import webview widget with youtube_player_flutter: ^6.1.0+4

Created on 24 Feb 2020  ·  7Comments  ·  Source: sarbagyastha/youtube_player_flutter

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Technical Details:

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

bug

All 7 comments

The package already exports webview. So you can remove webview_flutter dependency.

But i can't able to import webview

Have the same issue.
I removed webview_flutter dependency. Adding this import:
import 'package:youtube_player_flutter/youtube_player_flutter.dart';
does not importing WebView

Have the same issue.
I removed webview_flutter dependency. Adding this import:
import 'package:youtube_player_flutter/youtube_player_flutter.dart';
does not importing WebView

I removed webview_flutter and add this :
import 'package:webview_media/webview_flutter.dart';

It's work. But i dont know the version of this webview_flutter.dart.

I removed webview_flutter and add this :
import 'package:webview_media/webview_flutter.dart';

This is correct import.
It is listed in dependencies but I think that it's also worth mentioning in readme

shpy2001 solutions worked for me

Was this page helpful?
0 / 5 - 0 ratings