|
@@ -2,6 +2,7 @@ import "dart:developer" show log;
|
|
|
import "dart:io" show Platform;
|
|
|
import "dart:typed_data";
|
|
|
|
|
|
+import "package:flutter/foundation.dart" show kDebugMode;
|
|
|
import "package:flutter/material.dart";
|
|
|
import "package:photos/face/db.dart";
|
|
|
import "package:photos/face/model/face.dart";
|
|
@@ -190,6 +191,13 @@ class FaceWidget extends StatelessWidget {
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
maxLines: 1,
|
|
|
),
|
|
|
+ if (kDebugMode)
|
|
|
+ Text(
|
|
|
+ 'Score: ${face.score}',
|
|
|
+ style: Theme.of(context).textTheme.bodySmall,
|
|
|
+ overflow: TextOverflow.ellipsis,
|
|
|
+ maxLines: 1,
|
|
|
+ ),
|
|
|
],
|
|
|
),
|
|
|
);
|