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