Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2024-01-27 12:09:41 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
df3167c719c8b8aeaaf0de636d100e780682a510
df3167c7
1 parent
6dfa69cb
Revert "Migrated deprecated webview to WKWebview on macos printing"
This reverts commit
6dfa69cb
.
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
printing/CHANGELOG.md
printing/macos/Classes/PrintJob.swift
printing/pubspec.yaml
printing/CHANGELOG.md
View file @
df3167c
# Changelog
## 5.1
2.0
## 5.1
1.2
-
Refactor html imports
-
Migrated deprecated webview to WKWebview on macos printing
[
Akshay-Pawar
]
## 5.11.1
...
...
printing/macos/Classes/PrintJob.swift
View file @
df3167c
...
...
@@ -230,8 +230,8 @@ public class PrintJob: NSView, NSSharingServicePickerDelegate {
printInfo
.
rightMargin
=
size
.
width
-
margin
.
maxX
printInfo
.
bottomMargin
=
size
.
height
-
margin
.
maxY
let
webView
=
WKWebView
(
frame
:
viewController
!.
view
.
bounds
)
webView
.
loadHTMLString
(
data
,
baseURL
:
baseUrl
??
Bundle
.
main
.
bundleURL
)
let
webView
=
WebView
()
webView
.
mainFrame
.
loadHTMLString
(
data
,
baseURL
:
baseUrl
)
let
when
=
DispatchTime
.
now
()
+
1
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
when
)
{
...
...
printing/pubspec.yaml
View file @
df3167c
...
...
@@ -15,7 +15,7 @@ topics:
-
print
-
printing
-
report
version
:
5.1
2.0
version
:
5.1
1.2
environment
:
sdk
:
"
>=3.0.0
<4.0.0"
...
...
Please
register
or
login
to post a comment