Sabin Neupane
Committed by GitHub

Update web dependency (#1703)

... ... @@ -213,7 +213,8 @@ class PrintingPlugin extends PrintingPlatform {
script.setAttribute('id', _scriptId);
script.setAttribute('type', 'text/javascript');
script.innerHTML =
'''function ${_frameId}_print(){var f=document.getElementById('$_frameId');f.focus();f.contentWindow.print();}''';
'''function ${_frameId}_print(){var f=document.getElementById('$_frameId');f.focus();f.contentWindow.print();}'''
.toJS;
doc.body!.append(script);
final frame = doc.getElementById(_frameId) ?? doc.createElement('iframe');
... ...
... ... @@ -33,7 +33,7 @@ dependencies:
pdf: ^3.10.0
pdf_widget_wrapper: '>=1.0.0 <2.0.0'
plugin_platform_interface: ^2.1.0
web: ^0.5.1
web: ^1.0.0
dev_dependencies:
flutter_lints: ^4.0.0
... ...