diff --git a/lib/pages/delivery/information_page.dart b/lib/pages/delivery/information_page.dart index f4ed23c..ec8ba72 100644 --- a/lib/pages/delivery/information_page.dart +++ b/lib/pages/delivery/information_page.dart @@ -75,7 +75,7 @@ class InformationPage extends StatelessWidget { Row( mainAxisAlignment: MainAxisAlignment.center, children: [ - deliveryInfoButton( + DeliveryInfoButton( btnColor: Color(0xffED1C24), btnIcon: Icon( Icons.near_me, @@ -87,7 +87,7 @@ class InformationPage extends StatelessWidget { .location, btnFunction: () {}, ), - deliveryInfoButton( + DeliveryInfoButton( btnColor: Color(0xFF61B260), btnIcon: Icon( Icons.whatshot, @@ -97,7 +97,7 @@ class InformationPage extends StatelessWidget { btnName: 'Whatsapp', btnFunction: () {}, ), - deliveryInfoButton( + DeliveryInfoButton( btnColor: Color(0xFFFCB657), btnIcon: Icon( Icons.mail_outline, @@ -109,7 +109,7 @@ class InformationPage extends StatelessWidget { .sms, btnFunction: () {}, ), - deliveryInfoButton( + DeliveryInfoButton( btnColor: Theme.of(context).primaryColor, btnIcon: Icon( Icons.phone, diff --git a/lib/widgets/delivery/delivery_action_button.dart b/lib/widgets/delivery/delivery_action_button.dart index aaeeb32..3571218 100644 --- a/lib/widgets/delivery/delivery_action_button.dart +++ b/lib/widgets/delivery/delivery_action_button.dart @@ -1,12 +1,12 @@ import 'package:flutter/material.dart'; -class deliveryInfoButton extends StatelessWidget { +class DeliveryInfoButton extends StatelessWidget { final Color btnColor; final Icon btnIcon; final Function btnFunction; final String btnName; - deliveryInfoButton( + DeliveryInfoButton( {this.btnColor, this.btnIcon, this.btnFunction, this.btnName}); @override Widget build(BuildContext context) {