Added view more top items page

This commit is contained in:
Juan Gilsanz Polo 2022-09-28 13:59:09 +02:00
parent c81cbaa025
commit 576731b97f
5 changed files with 109 additions and 13 deletions

View file

@ -24,15 +24,6 @@ int? convertFromBoolToInt(bool value) {
}
}
double formatPercentage(double value) {
return (value * 100).truncateToDouble() / 100;
}
String intFormat(int value, String locale) {
final f = NumberFormat("#,###", locale);
return f.format(value);
}
List<Map<String, dynamic>> convertFromMapToList(Map<String, int> values) {
List<Map<String, dynamic>> items = [];
values.forEach((key, value) {