When running flutter build, the following error is logged:
The plugin `flutter_statusbarcolor` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding.
Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding:
https://flutter.dev/go/android-plugin-migration.
I'd like to fix this, but at the same time I really do want to color the status bar identically white or black according to the system theme.
When running flutter build, the following error is logged:
I'd like to fix this, but at the same time I really do want to color the status bar identically white or black according to the system theme.