some testing for the 'task' boxes in the PlannedPizzaWidget

This commit is contained in:
broodjeaap89 2021-07-02 21:50:00 +02:00
parent 4e85d339b6
commit 01b069bb6f

View file

@ -58,9 +58,24 @@ class PlannedPizzaWidget extends StatelessWidget {
children: <Widget>[ children: <Widget>[
Text(plannedPizza.name), Text(plannedPizza.name),
Text(this.getTimeRemainingString()) 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)), Text(dateFormatter.format(plannedPizza.dateTime)),
] ]
) )