Answers for "How to check flutter application is running in debug"

0

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 {

}
Posted by: Guest on March-22-2021

Code answers related to "How to check flutter application is running in debug"

Browse Popular Code Answers by Language