I need to change the brightness of the device using the flutter app. I searched the internet and most of the answers suggested using screen package. After adding it to the project and running the app the logs said that this particular package uses features of flutter that have been deprecated. So, this package won't help me to get my app running seamlessly. Please suggest some other way to get this done like by using the flutter properties itself and not using some 3rd party packages as most of them are not even verified which is not preferable for a product.