abin
abin

Reputation: 913

Remove debug mode throughout the flutter using code once

1.How to remove debug mode from all the widgets without writing debugShowCheckedMode:false for each page.. 2.I want to write debugShowCheckedmode:false only once... How can I do this? 3.Is it possible to disable debug mode throughout the app by writing only a single line of code?

Upvotes: 0

Views: 5355

Answers (1)

Rutvik Gumasana
Rutvik Gumasana

Reputation: 1620

Just simply add this snippet into your main Material App widget file.

debugShowCheckedModeBanner: false

Upvotes: 3

Related Questions