abdelaziz-mahdy / flutter_meedu_videoplayer

Cross-Platform Video Player for flutter
https://abdelaziz-mahdy.github.io/flutter_meedu_videoplayer/
MIT License
132 stars 69 forks source link

Error: 'Durations' is imported from both 'package:flutter/src/material/motion.dart' and 'package:flutter_meedu_videoplayer/src/helpers/durations.dart'. this.durations = const Durations(), #182

Closed JieNengi closed 1 week ago

JieNengi commented 6 months ago

QQ截图20231210121157

try flutter clean,It still is.

abdelaziz-mahdy commented 6 months ago

It's a breaking change because of the flutter version, and sorry I can't maintain the package anymore, so you have two options

Migrate to media_kit

Create a fork and fix the issue and use that fork

abdelaziz-mahdy commented 1 week ago

updated deps on main thanks to https://github.com/abdelaziz-mahdy/flutter_meedu_videoplayer/pull/186 i think that fixes your issue