Did you know?
debugPrint
prints logs in debug AND release mode, so be very careful when you use it!
Instead, consider using the logger package, which works as expected and only prints in debug mode by default. 👇
Another alternative is to use the log function from dart:developer
.
Found this useful? Show some love and share the original tweet 🙏
Previous | Next |
---|---|
Toggle Inlay Hints in VSCode | Launching your Flutter app with flavors |