flutter_screen icon indicating copy to clipboard operation
flutter_screen copied to clipboard

Null safety support

Open shouichi opened this issue 4 years ago • 9 comments

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

shouichi avatar Mar 05 '21 01:03 shouichi

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

erickhaendel avatar Mar 12 '21 05:03 erickhaendel

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

This only supports Android?

tim-smart avatar Mar 15 '21 23:03 tim-smart

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

erickhaendel avatar Mar 15 '21 23:03 erickhaendel

@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 avatar Mar 26 '21 08:03 PerLycke

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

PerLycke avatar Mar 26 '21 08:03 PerLycke

@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)

BastienFerbu avatar Mar 29 '21 09:03 BastienFerbu

@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

tion126 avatar Apr 25 '21 09:04 tion126

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!

daniloapr avatar Jul 14 '21 00:07 daniloapr

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

scris avatar Sep 24 '21 11:09 scris