aaassseee / screen_brightness

A Plugin for controlling screen brightness with application life cycle set and reset brightness implemented
https://pub.dev/packages/screen_brightness
MIT License
25 stars 22 forks source link

Error: The getter 'isAnimate' isn't defined for the class 'ScreenBrightnessPlatform'.[bug] #30

Open this-sunil opened 6 months ago

this-sunil commented 6 months ago

Description (bug summary)

Step to reproduce (how to reproduce the bug)

  1. Error: The getter 'isAnimate' isn't defined for the class 'ScreenBrightnessPlatform'.

    Platform (Android/iOS/macOS/Windows)

aaassseee commented 6 months ago

Hi @this-sunil. Sorry for the inconvenience. May you do a flutter pub upgrade?

aaassseee commented 6 months ago

I will update the code with the latest version which is mentioned by @sed1ka https://github.com/aaassseee/screen_brightness/issues/29#issuecomment-2106546939 in next version.

However, would you please now do a flutter pub upgrade or by adding screen_brightness_platform_interface: ^1.0.1 to pubspec then do a flutter pub get then remove the screen_brightness_platform_interface: ^1.0.1 from pubspec?

aaassseee commented 1 month ago

@this-sunil #30 unsync dependencies issue should be resolved in version 2.0.0+1