Compare commits

..

6 Commits

@ -215,6 +215,8 @@ class AppColor {
return redStatusTextColor;
case "request completed":
return greenStatusTextColor;
case "complete":
return greenStatusTextColor;
case "low priority":
return greenStatusTextColor;
case "low":

@ -263,9 +263,9 @@ class _SingleItemDropDownMenuState<T extends Base, X extends LoadingListNotifier
isExpanded: true,
hint: Text(
isEmpty || widget.enabled == false ? context.translation.noDataFound : context.translation.select,
style: AppTextStyles.heading5.copyWith(color: AppColor.textStyleColor(context)),
style: AppTextStyles.bodyText.copyWith(color: AppColor.textStyleColor(context)),
),
style: TextStyle(color: Theme.of(context).primaryColor, fontSize: 12),
// style: TextStyle(color: Theme.of(context).primaryColor, fontSize: 12),
underline: const SizedBox.shrink(),
onChanged: (widget.enabled == false || widget.showAsBottomSheet || widget.showAsFullScreenDialog)
? null
@ -284,7 +284,7 @@ class _SingleItemDropDownMenuState<T extends Base, X extends LoadingListNotifier
child: Text(value.name ?? "", // Null-aware operator for value.name
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: AppTextStyles.heading5.copyWith(color: AppColor.textStyleColor(context))
style: AppTextStyles.bodyText.copyWith(color: AppColor.textStyleColor(context))
// Theme.of(context).textTheme.bodyMedium?.copyWith(fontWeight: FontWeight.w500, color: context.isDark ? AppColor.white10 : AppColor.black10),
),
);

@ -140,10 +140,9 @@ class _ProfilePageState extends State<ProfilePage> {
}),
8.height,
Text(
"Work Order Status".addTranslation,
style: AppTextStyles.heading3.copyWith(color: AppColor.headingTextColor(context)),
(_user.username ?? ""),
style: AppTextStyles.heading3.copyWith(fontWeight: FontWeight.w600, color: AppColor.headingTextColor(context)),
),
(_user.username ?? "").heading3(context).custom(fontWeight: FontWeight.w600, color: context.isDark ? AppColor.neutral10 : AppColor.neutral50),
],
),
),

Loading…
Cancel
Save