OnSaveToGalleryCallback typedef
The function has Future<bool?> return type and takes 1 positional
argument url
which is a String object.
The url
argument is a url of the image which we want to save.
Implementation
typedef OnSaveToGalleryCallback = Future<bool?> Function(String url);