Changed colors
This commit is contained in:
@@ -74,14 +74,22 @@ class ContentListTile extends StatelessWidget {
|
|||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(name),
|
||||||
name,
|
|
||||||
),
|
|
||||||
Text(', $location'),
|
Text(', $location'),
|
||||||
if (Breakpoints.xl < screenWidth) Text(' - $title'),
|
if (Breakpoints.xl < screenWidth) const Text(' - '),
|
||||||
|
if (Breakpoints.xl < screenWidth)
|
||||||
|
Text(
|
||||||
|
title,
|
||||||
|
style:
|
||||||
|
TextStyle(color: Theme.of(context).colorScheme.primary),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
if (Breakpoints.xl >= screenWidth) Text(title),
|
if (Breakpoints.xl >= screenWidth)
|
||||||
|
Text(
|
||||||
|
title,
|
||||||
|
style: TextStyle(color: Theme.of(context).colorScheme.primary),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
titleAlignment: ListTileTitleAlignment.titleHeight,
|
titleAlignment: ListTileTitleAlignment.titleHeight,
|
||||||
@@ -90,12 +98,18 @@ class ContentListTile extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.only(bottom: 8),
|
padding: const EdgeInsets.only(bottom: 8),
|
||||||
child: Text(
|
child: Text(
|
||||||
Tools.buildTimeString(startDate, endDate),
|
Tools.buildTimeString(startDate, endDate),
|
||||||
style: Theme.of(context).textTheme.labelSmall,
|
style: Theme.of(context).textTheme.labelSmall!.copyWith(
|
||||||
|
color: Theme.of(context).colorScheme.secondary,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
: null,
|
: null,
|
||||||
trailing: Breakpoints.sm < screenWidth
|
trailing: Breakpoints.sm < screenWidth
|
||||||
? Text(Tools.buildTimeString(startDate, endDate))
|
? Text(
|
||||||
|
Tools.buildTimeString(startDate, endDate),
|
||||||
|
style:
|
||||||
|
TextStyle(color: Theme.of(context).colorScheme.secondary),
|
||||||
|
)
|
||||||
: null,
|
: null,
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -108,14 +122,22 @@ class ContentListTile extends StatelessWidget {
|
|||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(name),
|
||||||
name,
|
|
||||||
),
|
|
||||||
Text(', $location'),
|
Text(', $location'),
|
||||||
if (Breakpoints.xl < screenWidth) Text(' - $title'),
|
if (Breakpoints.xl < screenWidth) const Text(' - '),
|
||||||
|
if (Breakpoints.xl < screenWidth)
|
||||||
|
Text(
|
||||||
|
title,
|
||||||
|
style:
|
||||||
|
TextStyle(color: Theme.of(context).colorScheme.primary),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
if (Breakpoints.xl >= screenWidth) Text(title),
|
if (Breakpoints.xl >= screenWidth)
|
||||||
|
Text(
|
||||||
|
title,
|
||||||
|
style: TextStyle(color: Theme.of(context).colorScheme.primary),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
titleAlignment: ListTileTitleAlignment.titleHeight,
|
titleAlignment: ListTileTitleAlignment.titleHeight,
|
||||||
@@ -128,14 +150,20 @@ class ContentListTile extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.only(bottom: 8),
|
padding: const EdgeInsets.only(bottom: 8),
|
||||||
child: Text(
|
child: Text(
|
||||||
Tools.buildTimeString(startDate, endDate),
|
Tools.buildTimeString(startDate, endDate),
|
||||||
style: Theme.of(context).textTheme.labelSmall,
|
style: Theme.of(context).textTheme.labelSmall!.copyWith(
|
||||||
|
color: Theme.of(context).colorScheme.secondary,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(description),
|
Text(description),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
trailing: Breakpoints.sm < screenWidth
|
trailing: Breakpoints.sm < screenWidth
|
||||||
? Text(Tools.buildTimeString(startDate, endDate))
|
? Text(
|
||||||
|
Tools.buildTimeString(startDate, endDate),
|
||||||
|
style:
|
||||||
|
TextStyle(color: Theme.of(context).colorScheme.secondary),
|
||||||
|
)
|
||||||
: null,
|
: null,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user