Flutter bottom padding color on iPhone

Viewed 471

is it possible to change the color of this bottom padding that comes with the iPhone ?

enter image description here

1 Answers

Wrap your MaterialApp with below code in main.dart class:-

AnnotatedRegion<SystemUiOverlayStyle>(
      value: SystemUiOverlayStyle(
        statusBarColor: Colors.transparent, //set as per your  status bar color
        systemNavigationBarColor: Colors.black, //set as per your navigation bar color
        statusBarIconBrightness: Brightness.dark, //set as per your status bar icons' color
        systemNavigationBarIconBrightness: Brightness.dark,
      ),
      child: MaterialApp(
Related