addPageNumbers method
Implementation
Future<bool> addPageNumbers({double fontSize = 10, int startAt = 1, bool rightAligned = true}) async {
attach();
final UPdfEdit? edit = _edit;
if (edit == null) return false;
await edit.addPageNumbers(fontSize: fontSize, startAt: startAt, rightAligned: rightAligned);
viewer.invalidateAll();
notifyListeners();
return true;
}