Add the Snippet below to your main.dart
. setSystemUIOverlayStyle
allows one to change System overlay styles if any. This will do the job globally in your app.
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
statusBarIconBrightness: Brightness.dark));
This will give you the effect below(iOS & Android). Play around with the properties in SystemUiOverlayStyle
to get…
Top comments (0)