Question : color of status bar flutter
Answered by : akash-bansal
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle( statusBarColor: Colors.white
));
Source : | Last Update : Wed, 28 Oct 20
Question : change status bar color flutter
Answered by : you
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() { runApp(MyApp());
}
class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle( statusBarColor: Colors.blue, // Set the status bar color here )); return MaterialApp( home: Scaffold( appBar: AppBar( backgroundColor: Colors.blue, // Same color as statusBarColor title: Text('Flutter Status Bar Color'), ), body: Center( child: Text('Status Bar Color Change Example'), ), ), ); }
}
Source : | Last Update : Tue, 19 Sep 23
Question : flutter status bar color
Answered by : smahdi
return AnnotatedRegion<SystemUiOverlayStyle>( value: const SystemUiOverlayStyle( // For Android. // Use [light] for white status bar and [dark] for black status bar. statusBarIconBrightness: Brightness.light, // For iOS. // Use [dark] for white status bar and [light] for black status bar. statusBarBrightness: Brightness.dark, ), child: Scaffold(...),
);
Source : https://stackoverflow.com/questions/52489458/how-to-change-status-bar-color-in-flutter | Last Update : Tue, 28 Jul 20
Question : how to set status bar color in flutter
Answered by : sore-sardine-8lil6kqpt1vd
AnnotatedRegion<SystemUiOverlayStyle>( value: SystemUiOverlayStyle( statusBarColor: Colors.white, ), child: Scaffold( ... ),
)
Source : https://stackoverflow.com/questions/52489458/how-to-change-status-bar-color-in-flutter | Last Update : Sat, 09 Jul 22