Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
madhu-1stmain opened this issue Feb 24, 2020 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@madhu-1stmain
Copy link

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.

@madhu-1stmain madhu-1stmain added the bug Something isn't working label Feb 24, 2020
@sarbagyastha
Copy link
Owner

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

@madhu-1stmain
Copy link
Author

But i can't able to import webview

@marcinsiedlik
Copy link

marcinsiedlik commented Feb 24, 2020

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

@shpy2001
Copy link

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.

@marcinsiedlik
Copy link

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

@madhu-1stmain
Copy link
Author

this works
import 'package:webview_media/webview_flutter.dart';

@madhu-1stmain
Copy link
Author

shpy2001 solutions worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants