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