mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-07-11 21:58:50 +00:00
27ed4b0486
- Updated all print statements in services and widgets to use debugPrint. - This change improves logging performance and ensures that debug messages are only shown in debug builds. - Removed unnecessary transitive dependencies from pubspec.lock. - Cleaned up pubspec.yaml by removing integration_test from dev_dependencies.
9 lines
179 B
Dart
9 lines
179 B
Dart
import 'package:flutter/foundation.dart';
|
|
|
|
/// Debug print that only outputs in debug builds
|
|
void debugPrint(Object? message) {
|
|
if (kDebugMode) {
|
|
debugPrint(message);
|
|
}
|
|
}
|