Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @override
- Widget build(BuildContext context) {
- final backgroundColor =
- useAlternateBackground ? const Color(0xFFF5F5F5) : Colors.white;
- return Material(
- color: backgroundColor,
- child: InkWell(
- onTap: () => _navigateToEventDetails(context),
- child: Padding(
- padding: const EdgeInsets.symmetric(...),
- child: Row(
- children: [
- Column(
- children: [
- Text(
- hoursAndMins.format(show.start),
- style: const TextStyle(...),
- ),
- Text(
- hoursAndMins.format(show.end),
- style: const TextStyle(...),
- ),
- ],
- ),
- const SizedBox(width: 20.0),
- Expanded(
- child: Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Text(
- show.title,
- style: const TextStyle(...),
- ),
- const SizedBox(height: 4.0),
- Text(show.theaterAndAuditorium),
- const SizedBox(height: 8.0),
- Container(
- // Presentation method chip.
- // Styling redacted for brevity ...
- child: Text(show.presentationMethod),
- ),
- ],
- ),
- ),
- ],
- ),
- ),
- ),
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment