add lint rule

This commit is contained in:
mertalev
2025-09-12 17:01:23 -04:00
parent d84cc450f1
commit 0c214bed75
2 changed files with 163 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
import 'package:flutter/foundation.dart';
@pragma('vm:prefer-inline')
void dPrint(String Function() message) {
if (kDebugMode) {
debugPrint(message());
}
}