onSaveResume property

SaveResume<GlobalKey<State<StatefulWidget>>>? onSaveResume
final

To save a pdf version of the update resume the function onSaveResume is passed

only enable it if mode is TemplateMode.shakeEditAndSaveMode then just us a Future to create the PDF receiving the globalGey

await Future.delayed( const Duration(milliseconds: 300)) .then((value) => PdfHandler().createResume(_globalKey));

Implementation

final SaveResume<GlobalKey>? onSaveResume;