remove unused button in information_page.dart

barcode_scanner
Elham Rababah 5 years ago
parent 618cb27814
commit bf5a65ba80

@ -218,34 +218,35 @@ class InformationPage extends StatelessWidget {
item.latitude, item.longitude); item.latitude, item.longitude);
}, },
), ),
DeliveryInfoButton( //TODO: return it back when it needed
btnColor: Colors.white, //Color(0xFF61B260), // DeliveryInfoButton(
btnIcon: Icon( // btnColor: Colors.white, //Color(0xFF61B260),
DriverApp.whatsapp, // btnIcon: Icon(
size: // DriverApp.whatsapp,
MediaQuery.of(context).orientation == // size:
Orientation.portrait // MediaQuery.of(context).orientation ==
? 50 // Orientation.portrait
: 90, // ? 50
color: Color(0xFF5EA34A), // : 90,
), // color: Color(0xFF5EA34A),
btnName: 'Whatsapp', // ),
btnFunction: () {}, // btnName: 'Whatsapp',
), // btnFunction: () {},
DeliveryInfoButton( // ),
btnColor: Colors.white, //Color(0xFFFCB657), // DeliveryInfoButton(
btnIcon: Icon( // btnColor: Colors.white, //Color(0xFFFCB657),
DriverApp.message, // btnIcon: Icon(
size: // DriverApp.message,
MediaQuery.of(context).orientation == // size:
Orientation.portrait // MediaQuery.of(context).orientation ==
? 50 // Orientation.portrait
: 90, // ? 50
color: Color(0xffFFA540), // : 90,
), // color: Color(0xffFFA540),
btnName: TranslationBase.of(context).sms, // ),
btnFunction: () {}, // btnName: TranslationBase.of(context).sms,
), // btnFunction: () {},
// ),
DeliveryInfoButton( DeliveryInfoButton(
btnColor: Colors.white, btnColor: Colors.white,
//Theme.of(context).primaryColor, //Theme.of(context).primaryColor,

Loading…
Cancel
Save