0

I have made

appbar: AppBar(
backgroundColor: Colors.transparent,
elevation: 0
),

Still I'm getting this

Notification shadow

How to get that seamless transition between the Scaffold and the notification center?

Nithin Sai
  • 840
  • 1
  • 10
  • 23

1 Answers1

1

Use this if you want your application to use transparent statusbar. Transparent status bar in flutter

  @override
  Widget build(BuildContext context) {
    return AnnotatedRegion<SystemUiOverlayStyle>(
      value: SystemUiOverlayStyle(
        statusBarColor: Colors.transparent,
      ),
      child: MaterialApp(
        title: 'Test',
    );
  }
Pol
  • 496
  • 3
  • 6