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,