update
This commit is contained in:
@@ -84,38 +84,25 @@ class _ServiceAfterScreenState extends State<ServiceAfterScreen> {
|
||||
size: 55,
|
||||
sizeCircle: 60,
|
||||
),
|
||||
title: RichText(
|
||||
text: TextSpan(
|
||||
children: [
|
||||
TextSpan(
|
||||
text: '${user?.name}, ',
|
||||
style: const TextStyle(
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontSize: 16,
|
||||
),
|
||||
title: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
'${user?.name}',
|
||||
style: const TextStyle(
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 16,
|
||||
),
|
||||
TextSpan(
|
||||
text: DateFormat('dd MMM', 'es').format(DateTime.parse(
|
||||
evento?.day ?? '2023-01-01 00:00:00.000Z')),
|
||||
style: const TextStyle(
|
||||
color: Colors.grey,
|
||||
fontSize: 16,
|
||||
),
|
||||
),
|
||||
Text(
|
||||
'${DateFormat('dd MMMM', 'es').format(DateTime.parse(evento?.day ?? '2023-01-01 00:00:00.000Z'))} ${evento?.range1Hour1 != null ? DateFormat('h:mm a').format(DateTime.parse(evento!.range1Hour1)) : ''}',
|
||||
style: TextStyle(
|
||||
color: Colors.grey[600],
|
||||
fontSize: 16,
|
||||
),
|
||||
TextSpan(
|
||||
text: evento?.range1Hour1 != null
|
||||
? TimeOfDay.fromDateTime(
|
||||
DateTime.parse(evento!.range1Hour1))
|
||||
.format(context)
|
||||
: '',
|
||||
style: const TextStyle(
|
||||
color: Colors.grey,
|
||||
fontSize: 16,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
subtitle: Column(
|
||||
children: [
|
||||
@@ -200,7 +187,7 @@ class _ServiceAfterScreenState extends State<ServiceAfterScreen> {
|
||||
),
|
||||
),
|
||||
Text(
|
||||
'" ${evento?.description} "',
|
||||
'"${evento?.description}"',
|
||||
style:
|
||||
TextStyle(color: Colors.grey[600], fontStyle: FontStyle.italic),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user