mirror of
https://github.com/vleeuwenmenno/supplements.git
synced 2025-09-11 18:29:12 +02:00
notification overhaul
This commit is contained in:
8
lib/logging.dart
Normal file
8
lib/logging.dart
Normal file
@@ -0,0 +1,8 @@
|
||||
// A simple logging function that prints a message to the console if [kDebugMode] is enabled.
|
||||
import 'package:flutter/foundation.dart';
|
||||
|
||||
void printLog(String message) {
|
||||
if (kDebugMode) {
|
||||
print('SupplementsLog: $message');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user