From ede51003a189dd4188d9f70e56eea4fa0f05cf80 Mon Sep 17 00:00:00 2001 From: Khoren Markosyan Date: Wed, 11 May 2022 20:47:12 +0400 Subject: [PATCH] fixed barcodes image width --- example/lib/pages/barcodes_page.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/example/lib/pages/barcodes_page.dart b/example/lib/pages/barcodes_page.dart index 2dcc1e1..26deda0 100644 --- a/example/lib/pages/barcodes_page.dart +++ b/example/lib/pages/barcodes_page.dart @@ -52,7 +52,10 @@ class _BarcodesPageState extends State { final result = results[index]; return ContainerX( child: ListTile( - leading: Image.memory(result.data ?? Uint8List(0)), + leading: Image.memory( + result.data ?? Uint8List(0), + width: 60, + ), title: Text(result.text ?? ''), subtitle: Text(result.formatName), trailing: ButtonBar(