Search
 
SCRIPT & CODE EXAMPLE
 

DART

color of status bar flutter

SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
  statusBarColor: Colors.white
));
Comment

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(...),
);
Comment

how to set status bar color in flutter

AnnotatedRegion<SystemUiOverlayStyle>(
   value: SystemUiOverlayStyle(
      statusBarColor: Colors.white,
  ),
  child: Scaffold(
      ...
  ),
)
Comment

PREVIOUS NEXT
Code Example
Dart :: make scaffold scrollable flutter 
Dart :: appbar icon 
Dart :: scroll to top flutter 
Dart :: dart ceil 
Dart :: add bg image to scaffold flutter 
Dart :: dart repeat function 
Dart :: flutter showsnackbar 
Dart :: flutter date time to timestamp 
Dart :: get random color in flutter 
Dart :: change font size flutter 
Dart :: dart loop through array 
Dart :: flutter remove map 
Dart :: flutter text decoration underline color 
Dart :: text input validation message color flutter 
Dart :: dart square root 
Dart :: verified publisher account on pub.dev using google blogger 
Dart :: flutter delay a function 
Dart :: flutter two line list 
Dart :: flutter snackbar duration 
Dart :: dart date add month 
Dart :: int to string dart 
Dart :: get index of element in map dart 
Dart :: dart modulo 
Dart :: flutter text direction rtl 
Dart :: Flutter For In loop explained 
Dart :: flutter snackbar 
Dart :: dart object to map 
Dart :: scroll with mouse in flutter 
Dart :: spacer in singlechildscrollview 
Dart :: assign hex to color dart 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =