Unimplemented got thrown for null. Add it to the list so that lists with no items still work properly.
This commit is contained in:
parent
48615b3438
commit
f441caebf7
@ -153,6 +153,9 @@ class SummaryCardForTotals extends StatelessWidget {
|
|||||||
|
|
||||||
/* Load page variables based on calculated totals. */
|
/* Load page variables based on calculated totals. */
|
||||||
switch (itemType) {
|
switch (itemType) {
|
||||||
|
case null:
|
||||||
|
break;
|
||||||
|
|
||||||
case ItemType.asset:
|
case ItemType.asset:
|
||||||
_assetTotal = monthlyTotal;
|
_assetTotal = monthlyTotal;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user