flutter_platform_widgets icon indicating copy to clipboard operation
flutter_platform_widgets copied to clipboard

docs how to grab brightness

Open fredgrott opened this issue 4 years ago • 0 comments

People keep asking about this, so my gist

https://gist.github.com/fredgrott/da2492e89fbb7a59e4146320be7006be

assuming that SL your deps you need to use media query and WidgetsBinding to grab a window that way it will work even before MaterialApp is initialized.

And of course, you use a Future async paring

fredgrott avatar Jul 26 '21 21:07 fredgrott