getNumber method
Get the number to show in the badge
Implementation
String getNumber() {
if (count == null) {
return "";
} else if (limit && count! > 99) {
return '99+';
}
return '$count';
}
Get the number to show in the badge
String getNumber() {
if (count == null) {
return "";
} else if (limit && count! > 99) {
return '99+';
}
return '$count';
}