This package can help you to change your flutter app's statusbar's color or navigationbar's color programmatically. You can add the below line to your package's pubspec.yaml file.
You can install packages from the command line with Flutter.
$ flutter pub get
Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more. Now in your Dart code, you can use the below line to import the package.