pageLabel method
Implementation
String pageLabel(int index) {
final n = labels.keys.toList()..sort();
var current = PdfPageLabel.arabic();
var s = 0;
for (final i in n) {
if (index >= i) {
current = labels[i]!;
s = i;
}
}
return current.asString(index - s);
}