debug_mode 0.1.1

Flutter Android iOS web

A simple hack to check if Flutter app is in debug mode

debug_mode #

A simple hack to check if Flutter app is in debug mode

In debug mode the

the Dart assert statement is enabled, and the Flutter framework uses this to perform many runtime checks verifying that invariants are not being violated.

Source

Example #

if(DebugMode.isInDebugMode){
    // DEBUG Mode
}
2
likes
100
pub points
73%
popularity

Publisher

dsi.dev

A simple hack to check if Flutter app is in debug mode

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on debug_mode