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
2025-01-26 10:04:20 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6e69cfcad9349b73c12f624c3be564131f786676
6e69cfca
1 parent
641c1fb6
Fix wasm dart.pub warning
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
3 deletions
printing/CHANGELOG.md
printing/lib/src/platform_js.dart
printing/lib/src/platform_os.dart
printing/lib/src/print_job.dart
printing/pubspec.yaml
printing/CHANGELOG.md
View file @
6e69cfc
# Changelog
## 5.14.1
-
Fix wasm dart.pub warning
## 5.14.0
-
Replace WebView with WKWebView on macOS
...
...
printing/lib/src/platform_js.dart
0 → 100644
View file @
6e69cfc
/*
* Copyright (C) 2017, David PHAM-VAN <dev.nfet.net@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const
useFFI
=
false
;
...
...
printing/lib/src/platform_os.dart
0 → 100644
View file @
6e69cfc
/*
* Copyright (C) 2017, David PHAM-VAN <dev.nfet.net@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
'dart:io'
show
Platform
;
final
useFFI
=
Platform
.
isMacOS
||
Platform
.
isIOS
;
...
...
printing/lib/src/print_job.dart
View file @
6e69cfc
...
...
@@ -15,10 +15,10 @@
*/
import
'dart:async'
;
import
'dart:io'
show
Platform
;
import
'dart:typed_data'
;
import
'callback.dart'
;
import
'platform_js.dart'
if
(
dart
.
library
.
io
)
'print_job_platform_ffi.dart'
;
import
'raster.dart'
;
/// Represents a print job to communicate with the platform implementation
...
...
@@ -74,7 +74,7 @@ class PrintJobs {
onHtmlRendered:
onHtmlRendered
,
onCompleted:
onCompleted
,
onPageRasterized:
onPageRasterized
,
useFFI:
Platform
.
isMacOS
||
Platform
.
isIOS
,
useFFI:
useFFI
,
);
_printJobs
[
job
.
index
]
=
job
;
return
job
;
...
...
printing/pubspec.yaml
View file @
6e69cfc
...
...
@@ -15,7 +15,7 @@ topics:
-
print
-
printing
-
report
version
:
5.14.
0
version
:
5.14.
1
environment
:
sdk
:
"
>=3.3.0
<4.0.0"
...
...
Please
register
or
login
to post a comment