How can I remove the DEBUG ribbon from the application title?

Ask a question+

Writing the first application using Flutter, wondering how to remove the DEBUG ribbon from the main window.

Jaco 500
add comment

1 Answer


To remove the debug ribbon, it is possible to leverage debugShowCheckedModeBanner: false property.

class HelloFlutterApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return MaterialApp(
        debugShowCheckedModeBanner: false,
        title: "Hello Flutter Application",
        home: Scaffold(
          appBar: AppBar(
            title: Text("Hello Flutter Application"),
          body: Home()
Jaco 500
add comment

Your Answer