getThumbnail method
- int page
Provides the URL of a thumbnail that refers to a specific page of the presented file.
The page
parameter refers to the number of the presented page. Files that do not consist of pages, for example, jpg images, require setting the value of this parameter to 0.
Implementation
Future<String> getThumbnail(int page) async {
return await _methodChannel.invokeMethod("getThumbnail", {"page": page});
}