setCrop method
Implementation
Future<bool> setCrop(int pageIndex, Rect box) async {
attach();
final UPdfEdit? edit = _edit;
if (edit == null) return false;
await edit.setCropBox(pageIndex, box);
viewer.invalidateAll();
notifyListeners();
return true;
}