some testing for the 'task' boxes in the PlannedPizzaWidget
This commit is contained in:
parent
4e85d339b6
commit
01b069bb6f
1 changed files with 16 additions and 1 deletions
|
@ -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)),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue