|
|
|
|
@ -103,6 +103,7 @@ class _TaskRequestDetailsViewState extends State<TaskRequestDetailsView> {
|
|
|
|
|
? const ALoading()
|
|
|
|
|
: Column(children: [
|
|
|
|
|
SingleChildScrollView(
|
|
|
|
|
padding: const EdgeInsets.all(16),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
@ -243,12 +244,13 @@ class _TaskRequestDetailsViewState extends State<TaskRequestDetailsView> {
|
|
|
|
|
return RichText(
|
|
|
|
|
text: TextSpan(
|
|
|
|
|
text: "${context.translation.totalWorkingTime}: ",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14.toScreenWidth, fontWeight: FontWeight.w500, fontStyle: FontStyle.normal, decoration: TextDecoration.none, color: context.isDark ? AppColor.neutral10 : AppColor.neutral20),
|
|
|
|
|
style: AppTextStyles.bodyText2.copyWith(color: AppColor.lightTextColor(context)),
|
|
|
|
|
// TextStyle(
|
|
|
|
|
// fontSize: 14.toScreenWidth, fontWeight: FontWeight.w500, fontStyle: FontStyle.normal, decoration: TextDecoration.none, color: context.isDark ? AppColor.neutral10 : AppColor.neutral20),
|
|
|
|
|
children: [
|
|
|
|
|
TextSpan(text: "$totalHourString ", style: AppTextStyles.bodyText),
|
|
|
|
|
const WidgetSpan(
|
|
|
|
|
child: Icon(Icons.info_outline_rounded, color: AppColor.primary10, size: 14),
|
|
|
|
|
TextSpan(text: "$totalHourString ", style: AppTextStyles.bodyText2.copyWith(color: AppColor.lightTextColor(context))),
|
|
|
|
|
WidgetSpan(
|
|
|
|
|
child: Icon(Icons.info_outline_rounded, color: AppColor.loadingColor(context), size: 14),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|