Reputation: 913
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
Reputation: 1620
Just simply add this snippet into your main Material App widget file.
debugShowCheckedModeBanner: false
Upvotes: 3