From 01b069bb6f423b7baf25eccb64cd0456e4a1c7ac Mon Sep 17 00:00:00 2001 From: broodjeaap89 Date: Fri, 2 Jul 2021 21:50:00 +0200 Subject: [PATCH] some testing for the 'task' boxes in the PlannedPizzaWidget --- lib/pages/PlannedPizzasPage.dart | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/lib/pages/PlannedPizzasPage.dart b/lib/pages/PlannedPizzasPage.dart index 744c14c..ef4023c 100644 --- a/lib/pages/PlannedPizzasPage.dart +++ b/lib/pages/PlannedPizzasPage.dart @@ -58,9 +58,24 @@ class PlannedPizzaWidget extends StatelessWidget { children: [ Text(plannedPizza.name), Text(this.getTimeRemainingString()) - ], ), + Container( + padding: const EdgeInsets.all(8), + height: 70, + child: ListView.separated( + scrollDirection: Axis.horizontal, + itemCount: 4, + itemBuilder: (BuildContext context, int i) { + return Container( + height: 50, + color: Colors.green, + child: Text("TEST") + ); + }, + separatorBuilder: (BuildContext context, int i) => const Divider(), + ), + ), Text(dateFormatter.format(plannedPizza.dateTime)), ] )