DEV Community

Pere Sola
Pere Sola

Posted on • Edited on

1

Can I remove the "DEBUG" banner in Flutter?

You have certainly seen the DEBUG banner shown on the top right corner of your app when developing in local host.

Image description

I bet you asked yourself: can I remove it?

Yes you can! The MaterialApp widget has the debugShowCheckedModeBannerproperty, see here. You can set it to false to remove it.

Image description

If it's still there, make sure you have only one MaterialApp widget in your app.

Handy to take those screenshots you need to upload your app in the App store ;)

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay