Skip to content

Commit 9dc2b12

Browse files
committed
feat(ui): replace Text with SelectableText to allow selecting/copying text
1 parent 5e6f264 commit 9dc2b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/camera/camera_new.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class _TextRecognitionScreenState extends State<TextRecognitionScreen> {
256256
borderRadius: BorderRadius.circular(12),
257257
),
258258
child: SingleChildScrollView(
259-
child: Text(
259+
child: SelectableText(
260260
_recognizedText,
261261
style: const TextStyle(fontSize: 16),
262262
),

0 commit comments

Comments
 (0)