getBillDataList static method
Implementation
static List<BillData> getBillDataList(BuildContext context) {
// The following names are not localized as they're product/brand names.
return <BillData>[
BillData(
name: 'RedPay Credit',
primaryAmount: 45.36,
dueDate: dateFormatAbbreviatedMonthDay(context)
.format(DateTime.utc(2019, 1, 29)),
),
BillData(
name: 'Rent',
primaryAmount: 1200,
dueDate: dateFormatAbbreviatedMonthDay(context)
.format(DateTime.utc(2019, 2, 9)),
isPaid: true,
),
BillData(
name: 'TabFine Credit',
primaryAmount: 87.33,
dueDate: dateFormatAbbreviatedMonthDay(context)
.format(DateTime.utc(2019, 2, 22)),
),
BillData(
name: 'ABC Loans',
primaryAmount: 400,
dueDate: dateFormatAbbreviatedMonthDay(context)
.format(DateTime.utc(2019, 2, 29)),
),
];
}