ES-185:fix scroll issue

fix_some_issue
Elham Rababah 5 years ago
parent 937b73f45f
commit 02763d89d5

@ -48,7 +48,7 @@ class _DeliverdOrdersPageState extends State<DeliverdOrdersPage> {
padding: EdgeInsets.symmetric(horizontal: 12.2),
child: OrderInfoCard(
order: model.deliverdOrders[index],
showStatus: true,
// showStatus: true,
onTap: () {},
));
},

@ -21,13 +21,12 @@ class OrderInfoCard extends StatelessWidget {
showShadow: true,
raduis: 25.0,
height: MediaQuery.of(context).orientation == Orientation.portrait
? MediaQuery.of(context).size.height *
(showStatus ? 0.190 : 0.140)
? MediaQuery.of(context).size.height * (showStatus ? 0.22 : 0.160)
: MediaQuery.of(context).size.height *
(showStatus ? 0.299 : 0.269),
(showStatus ? 0.359 : 0.269),
child: FractionallySizedBox(
widthFactor: 0.98,
child: ListView(
child: Column(
// mainAxisAlignment: MainAxisAlignment.start,
children: [

Loading…
Cancel
Save