clovisnicolas / flutter_screen

MIT License
145 stars 140 forks source link

Null safety support #32

Open shouichi opened 3 years ago

shouichi commented 3 years ago

Null safety is stable now in flutter. Any plan to migrate flutter_screen to null safety?

erickhaendel commented 3 years ago

Use https://pub.dev/packages/flutter_screen_wake

tim-smart commented 3 years ago

Use https://pub.dev/packages/flutter_screen_wake

This only supports Android?

erickhaendel commented 3 years ago

Use https://pub.dev/packages/flutter_screen_wake

This only supports Android?

at the moment yes, I believe that next week I will be updating

PerLycke commented 3 years ago

@erickhaendel in the link you posted, it says 'for Android and iOS'. So that is a false statement right? And 'next week' didn't work out either right? So it's not really a valid replacement, right?

PerLycke commented 3 years ago

https://pub.dev/packages/wakelock seems to be the proper replacement

BastienFerbu commented 3 years ago

@PerLycke your package as well is not really a proper replacement cause I dont't think you can change the brightness with it (or I didn't find how)

tion126 commented 3 years ago

@PerLycke your package as well is not really a proper replacement cause I dont't think you can change the brightness with it (or I didn't find how) https://pub.flutter-io.cn/packages/brightness_volume

daniloapr commented 3 years ago

As this package seams to not be mantained anymore, I forked it and added null-safety support for using in my project.

  screen:
    git:
      url: https://github.com/daniloapr/flutter_screen.git
      ref: master

Feel free to use it, but test it before sending to production!

scris commented 3 years ago

This seems to be a good alternative https://github.com/SVD13/device_display_brightness