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
2020-12-14 09:15:41 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c5845a7fdffe1391ae54854b6d124b07c2d8b089
c5845a7f
1 parent
3100a7ee
Fix flutter lints
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
Makefile
pdf/lib/src/exif.dart
pdf/lib/widgets/partitions.dart
printing/lib/src/printing_web.dart
Makefile
View file @
c5845a7
...
...
@@ -83,7 +83,7 @@ node_modules:
printing/example/.metadata
:
cd
printing/example; flutter create -t app --no-overwrite --org net.nfet --project-name example .
rm -rf printing/example/test
rm -rf printing/example/test
printing/example/integration_test
pdf/pubspec.lock
:
pdf/pubspec.yaml
cd
pdf; dart pub get
...
...
pdf/lib/src/exif.dart
View file @
c5845a7
...
...
@@ -257,11 +257,11 @@ orientation: $orientation''';
return
<
int
>[
numerator
,
denominator
];
}
final
offset
=
valueOffset
;
final
result
=
List
<
List
<
int
>>(
numValues
)
;
final
result
=
<
List
<
int
>>[]
;
for
(
var
i
=
0
;
i
<
result
.
length
;
++
i
)
{
final
numerator
=
file
.
getUint32
(
offset
+
i
*
8
,
bigEnd
);
final
denominator
=
file
.
getUint32
(
offset
+
i
*
8
+
4
,
bigEnd
);
result
[
i
]
=
<
int
>[
numerator
,
denominator
]
;
result
.
add
(<
int
>[
numerator
,
denominator
])
;
}
return
result
;
case
9
:
// slong, 32 bit signed int
...
...
@@ -281,11 +281,11 @@ orientation: $orientation''';
return
<
int
>[
numerator
,
denominator
];
}
final
offset
=
valueOffset
;
final
result
=
List
<
List
<
int
>>(
numValues
)
;
final
result
=
<
List
<
int
>>[]
;
for
(
var
i
=
0
;
i
<
result
.
length
;
++
i
)
{
final
numerator
=
file
.
getInt32
(
offset
+
i
*
8
,
bigEnd
);
final
denominator
=
file
.
getInt32
(
offset
+
i
*
8
+
4
,
bigEnd
);
result
[
i
]
=
<
int
>[
numerator
,
denominator
]
;
result
.
add
(<
int
>[
numerator
,
denominator
])
;
}
return
result
;
case
11
:
// single float, 32 bit float
...
...
pdf/lib/widgets/partitions.dart
View file @
c5845a7
...
...
@@ -80,7 +80,8 @@ class Partition implements SpanningWidget {
}
class
_PartitionsContext
extends
WidgetContext
{
_PartitionsContext
(
int
count
)
:
partitionContext
=
List
<
WidgetContext
>(
count
);
_PartitionsContext
(
int
count
)
:
partitionContext
=
List
<
WidgetContext
>.
filled
(
count
,
null
);
final
List
<
WidgetContext
>
partitionContext
;
...
...
printing/lib/src/printing_web.dart
View file @
c5845a7
...
...
@@ -15,7 +15,6 @@
*/
import
'dart:async'
;
import
'dart:convert'
;
import
'dart:html'
as
html
;
import
'dart:html'
;
import
'dart:io'
;
...
...
Please
register
or
login
to post a comment