dart debug from terminal code example
Example 1: how to remove debug tag in flutter
Inside your MaterialApp widget, add the following property.
MaterialApp(
debugShowCheckedModeBanner: false
)
Example 2: How to check flutter application is running in debug
if (kDebugMode) {
// Code here will only be included in debug mode.
// As kDebugMode is a constant, the tree shaker
// will remove the code entirely from compiled code.
} else {
}