removeWidget method
Removes a widget from the current page.
example:
bool result = document.removeWidget(widget);
Implementation
Future<bool> removeWidget(CPDFWidget widget) async {
return await _channel.invokeMethod('remove_widget', {
'page_index': widget.page,
'uuid': widget.uuid,
});
}