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

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

Loading…
Cancel
Save