xxxxxxxxxx
AppBar(
systemOverlayStyle: SystemUiOverlayStyle(
statusBarColor: Colors.green, // <-- Set color here
statusBarIconBrightness: Brightness.dark, //<-- For Android SET HERE (dark icons)
statusBarBrightness: Brightness.light, //<-- For iOS SET HERE (dark icons - opposite)
),
title: Text('Title'),
)
Source:
https://www.flutterbeads.com/change-status-bar-color-in-flutter/