From 814b3f889378619738d2b9e4f1a09ff58fd04dea Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Sun, 13 Sep 2020 11:56:14 +0300 Subject: [PATCH] fix issue --- lib/widgets/delivery/customer_brief_card.dart | 3 ++- lib/widgets/others/app_scaffold_widget.dart | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/widgets/delivery/customer_brief_card.dart b/lib/widgets/delivery/customer_brief_card.dart index 308aa13..5f2ca1e 100644 --- a/lib/widgets/delivery/customer_brief_card.dart +++ b/lib/widgets/delivery/customer_brief_card.dart @@ -1,4 +1,5 @@ import 'package:driverapp/config/size_config.dart'; +import 'package:driverapp/uitl/utils.dart'; import 'package:driverapp/widgets/delivery/distance_in_kilometers.dart'; import 'package:flutter/material.dart'; @@ -87,7 +88,7 @@ class CustomerBriefCard extends StatelessWidget { height: MediaQuery.of(context).size.width * 0.02, ), Text( - '${customerFirstName} ${customerLastName}', + Utils.formatName('${customerFirstName} ${customerLastName}'), style: TextStyle(fontSize: 20, fontWeight: FontWeight.w500), ), SizedBox( diff --git a/lib/widgets/others/app_scaffold_widget.dart b/lib/widgets/others/app_scaffold_widget.dart index da042ad..a00647e 100644 --- a/lib/widgets/others/app_scaffold_widget.dart +++ b/lib/widgets/others/app_scaffold_widget.dart @@ -33,8 +33,8 @@ class AppScaffold extends StatelessWidget { Widget build(BuildContext context) { AppGlobal.context = context; return SafeArea( -// top: false, -// bottom: false, + top: false, + bottom: false, child: Scaffold( backgroundColor: appBarColor ?? Theme.of(context).scaffoldBackgroundColor,