sell scroll fixed
parent
fb9e4c5fec
commit
0cbc7a545f
|
|
@ -39,7 +39,8 @@ class SellView extends StatelessWidget {
|
|||
sum: sumProducts(state.items!),
|
||||
),
|
||||
),
|
||||
body: Column(
|
||||
body: ListView(
|
||||
physics: const BouncingScrollPhysics(),
|
||||
children: [
|
||||
const ContragentSelectBar(
|
||||
value: 'Частное лицо',
|
||||
|
|
@ -52,11 +53,12 @@ class SellView extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
ListView.separated(
|
||||
shrinkWrap: true,
|
||||
physics: const BouncingScrollPhysics(),
|
||||
padding: const EdgeInsets.only(bottom: 120),
|
||||
shrinkWrap: true,
|
||||
itemCount: state.items!.length,
|
||||
itemBuilder: (BuildContext context, int index) {
|
||||
final ProductDao product = state.items!.elementAt(index);
|
||||
final ProductDao product = state.items!.elementAt(0);
|
||||
return ProductListItem(
|
||||
key: UniqueKey(),
|
||||
ean: product.eanCode,
|
||||
|
|
|
|||
Loading…
Reference in New Issue