Baseflow / screenrecorder

Flutter package which can be used to record flutter widgets
https://pub.dev/packages/screen_recorder
MIT License
64 stars 30 forks source link

error output from screen_recorder 0.2.0 which is not able to import #25

Closed khemmanat closed 1 year ago

khemmanat commented 1 year ago

Because video_cap_com_test depends on screen_recorder >=0.1.0 which requires Flutter SDK version >=3.4.0-34.1.pre, version solving failed. pub get failed (1; Because video_cap_com_test depends on screen_recorder >=0.1.0 which requires Flutter SDK version >=3.4.0-34.1.pre, version solving failed.) exit code 1

ueman commented 1 year ago

I don't know what you want me to do here? Can you please explain why you raised this issue?

khemmanat commented 1 year ago

@ueman I want to import the latest version of screen_recorder (0.2.0) into my project so that when I make a pub get in my project. Then this happen to my terminal response: Because video_cap_com_test depends on screen_recorder >=0.1.0 which requires Flutter SDK version >=3.4.0-34.1.pre, version solving failed. pub get failed (1; Because video_cap_com_test depends on screen_recorder >=0.1.0 which requires Flutter SDK version >=3.4.0-34.1.pre, version solving failed.) exit code 1 So how can I use screen_recorder package of the latest version.

ueman commented 1 year ago

So how can I use screen_recorder package of the latest version.

Have you tried using the Flutter version as suggested in the error message you posted?

MirzaIkhsan commented 1 year ago

@ueman I want to import the latest version of screen_recorder (0.2.0) into my project so that when I make a pub get in my project. Then this happen to my terminal response: Because video_cap_com_test depends on screen_recorder >=0.1.0 which requires Flutter SDK version >=3.4.0-34.1.pre, version solving failed. pub get failed (1; Because video_cap_com_test depends on screen_recorder >=0.1.0 which requires Flutter SDK version >=3.4.0-34.1.pre, version solving failed.) exit code 1 So how can I use screen_recorder package of the latest version.

I'm fixed it by change the flutter channel from stable to beta version. It seems that this package haven't support for the stable version.

khemmanat commented 1 year ago

@ueman I want to import the latest version of screen_recorder (0.2.0) into my project so that when I make a pub get in my project. Then this happen to my terminal response: Because video_cap_com_test depends on screen_recorder >=0.1.0 which requires Flutter SDK version >=3.4.0-34.1.pre, version solving failed. pub get failed (1; Because video_cap_com_test depends on screen_recorder >=0.1.0 which requires Flutter SDK version >=3.4.0-34.1.pre, version solving failed.) exit code 1 So how can I use screen_recorder package of the latest version.

I'm fixed it by change the flutter channel from stable to beta version. It seems that this package haven't support for the stable version.

Ahh yeah this is what I'm meaning to say that I want use in the stable version. @ueman

ueman commented 1 year ago

If you want to it on stable, please use version 0.0.3. Newer versions use APIs which aren't available on stable.