Answers for "flutter status bar color without appbar"

5

flutter status bar color

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(...),
);
Posted by: Guest on July-21-2020
0

how to change appbar color in flutter

appBar: AppBar(
      title: const Text('Example'),
      backgroundColor: Colors.black,
    ),
Posted by: Guest on November-13-2020
0

flutter appbar is still grey

change elevation to 0
AppBar(
	title: Text('HELLO WOLRD'),
    elevation: 0,
    color: Colors.transparent
)
Posted by: Guest on July-21-2020

Code answers related to "Dart"

Browse Popular Code Answers by Language