how to set statusbar color with deferent screen colors in flutter code example
Example: how to change color notification bar in flutter
import 'package:flutter/services.dart';
Widget build(BuildContext context) {
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Color(0xFF2E7D32),
));
return MaterialApp()