ES-185:fix showModalBottomSheet height

fix_some_issue
Elham Rababah 5 years ago
parent deb42d4215
commit 2bc2fb4770

@ -41,9 +41,12 @@ class InformationPage extends StatelessWidget {
topRight: Radius.circular(50.0),
),
),
isScrollControlled: true,
context: context,
builder: (BuildContext bc) {
return ListView(
return FractionallySizedBox(
heightFactor: 0.35,
child: ListView(
children: <Widget>[
Container(
decoration: BoxDecoration(
@ -99,9 +102,7 @@ class InformationPage extends StatelessWidget {
),
ActionSheetButton(
label:
TranslationBase
.of(context)
.delivered,
TranslationBase.of(context).delivered,
icon: DriverApp.deliverd_icon,
onTap: () {
selectAction(context, 2, model);
@ -118,8 +119,7 @@ class InformationPage extends StatelessWidget {
// ),
// SizedBox(height: 15),
ActionSheetButton(
label: TranslationBase
.of(context)
label: TranslationBase.of(context)
.deliveredRejected,
icon: DriverApp.rejected_icon,
onTap: () {
@ -145,6 +145,7 @@ class InformationPage extends StatelessWidget {
),
),
],
),
);
});
}

@ -119,7 +119,6 @@ class OrderInfoCard extends StatelessWidget {
Container(
margin: EdgeInsets.only(bottom: 12, left: 10),
child: RoundedContainer(
// margin: EdgeInsets.only(bottom: 8, left: 20),
margin: 4,
showShadow: false,
backgroundColor:

Loading…
Cancel
Save