getAccountDetailList static method
Implementation
static List<UserDetailData> getAccountDetailList(BuildContext context) {
return <UserDetailData>[
UserDetailData(
title: "Annual percentage yield",
value: percentFormat(context).format(0.001),
),
UserDetailData(
title: "Interest rate",
value: usdWithSignFormat(context).format(1676.14),
),
UserDetailData(
title: "Interest YTD",
value: usdWithSignFormat(context).format(81.45),
),
UserDetailData(
title: "Interest paid last year",
value: usdWithSignFormat(context).format(987.12),
),
UserDetailData(
title: "Next statement",
value: shortDateFormat(context).format(DateTime.utc(2019, 12, 25)),
),
UserDetailData(
title: "Account owner",
value: 'Philip Cao',
),
];
}