Skip to content

Commit

Permalink
fix: #1273 Added barcode in the Full edit mode page (#1280)
Browse files Browse the repository at this point in the history
* Added barcode

* fix format
  • Loading branch information
vik4114 authored Mar 21, 2022
1 parent abcf361 commit 917ec43
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/smooth_app/lib/pages/product/edit_product_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ class _EditProductPageState extends State<EditProductPage> {
},
child: ListView(
children: <ListTile>[
ListTile(
title: const Text(
'Barcode'), // TODO(vik4114): Localization and translations
subtitle: widget.product.barcode == null
? null
: Text(widget.product.barcode!),
),
_getListTile(
title: 'Basic details',
subtitle: 'Product name, brand, quantity',
Expand Down

0 comments on commit 917ec43

Please sign in to comment.