email added to profile view adnd custom text field changes
This commit is contained in:
@@ -33,31 +33,31 @@ class _ClientProfileScreenState extends State<ClientProfileScreen> {
|
||||
screenKey: controller.screenKey,
|
||||
onScreenTap: controller.removeFocus,
|
||||
showAppBar: false,
|
||||
appBar: CustomAppBar(
|
||||
leadingButton: Container(),
|
||||
showBoxShadow: false,
|
||||
titleWidget: Row(
|
||||
children: [
|
||||
InkWell(
|
||||
onTap: () => controller.backButtonPressed(context),
|
||||
child: CustomImageWidget(
|
||||
imagePath: AssetsManager.kBackIcon,
|
||||
height: 11.53.h,
|
||||
width: 8.66.w,
|
||||
),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 15,
|
||||
),
|
||||
CustomTextWidget(
|
||||
text: 'Client: ${controller.serviceUser()?.displayName ?? ""}',
|
||||
isExpanded: false,
|
||||
fontSize: 16.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontColor: CustomAppColors.kDarkBlueTextColor),
|
||||
],
|
||||
),
|
||||
),
|
||||
// appBar: CustomAppBar(
|
||||
// leadingButton: Container(),
|
||||
// showBoxShadow: false,
|
||||
// titleWidget: Row(
|
||||
// children: [
|
||||
// InkWell(
|
||||
// onTap: () => controller.backButtonPressed(context),
|
||||
// child: CustomImageWidget(
|
||||
// imagePath: AssetsManager.kBackIcon,
|
||||
// height: 11.53.h,
|
||||
// width: 8.66.w,
|
||||
// ),
|
||||
// ),
|
||||
// const SizedBox(
|
||||
// width: 15,
|
||||
// ),
|
||||
// CustomTextWidget(
|
||||
// text: 'Client: ${controller.serviceUser()?.displayName ?? ""}',
|
||||
// isExpanded: false,
|
||||
// fontSize: 16.sp,
|
||||
// fontWeight: FontWeight.w700,
|
||||
// fontColor: CustomAppColors.kDarkBlueTextColor),
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
body: Obx(() {
|
||||
if (controller.serviceUser() == null) {
|
||||
return FrequentFunctions.centerText(text: "User detail not found");
|
||||
@@ -84,6 +84,11 @@ class _ClientProfileScreenState extends State<ClientProfileScreen> {
|
||||
text: detail.displayName,
|
||||
fontSize: 14.sp,
|
||||
fontWeight: FontWeight.w600),
|
||||
CustomTextWidget(
|
||||
text: detail.email ?? "",
|
||||
fontSize: 12.sp,
|
||||
fontColor: Colors.grey,
|
||||
fontWeight: FontWeight.w400),
|
||||
16.verticalSpace,
|
||||
BuildDetailRow(
|
||||
title: 'Contact Number',
|
||||
|
||||
Reference in New Issue
Block a user