change class and file name

setting_branch
enadhilal 5 years ago
parent 778fd5374d
commit 6876e1da77

@ -75,7 +75,7 @@ class InformationPage extends StatelessWidget {
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
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,

@ -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) {

Loading…
Cancel
Save