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
2019-07-11 09:01:28 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5904927568213277dbee5a2d0384d95663993ee8
59049275
1 parent
991ec871
Apply dart 2.4.0 formatting
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
15 deletions
pdf/lib/src/archive.dart
pdf/test/widget_clip_test.dart
pdf/test/widget_container_test.dart
pdf/test/widget_table_test.dart
pdf/test/widget_theme_test.dart
printing/example/lib/document.dart
pdf/lib/src/archive.dart
View file @
5904927
pdf/test/widget_clip_test.dart
View file @
5904927
pdf/test/widget_container_test.dart
View file @
5904927
pdf/test/widget_table_test.dart
View file @
5904927
pdf/test/widget_theme_test.dart
View file @
5904927
printing/example/lib/document.dart
View file @
5904927
...
...
@@ -141,27 +141,22 @@ Future<Document> generateDocument(PdfPageFormat format) async {
Padding
(
padding:
const
EdgeInsets
.
only
(
top:
10
)),
Text
(
'Electrotyper'
,
textScaleFactor:
1.2
,
style:
Theme
.
of
(
context
)
.
defaultTextStyle
.
copyWith
(
fontWeight:
FontWeight
.
bold
,
color:
green
)),
style:
Theme
.
of
(
context
).
defaultTextStyle
.
copyWith
(
fontWeight:
FontWeight
.
bold
,
color:
green
)),
Padding
(
padding:
const
EdgeInsets
.
only
(
top:
20
)),
Row
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
<
Widget
>[
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
Text
(
'568 Port Washington Road'
),
Text
(
'Nordegg, AB T0M 2H0'
),
Text
(
'Canada, ON'
),
]),
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
Text
(
'+1 403-721-6898'
),
Text
(
'p.charlesbois@yahoo.com'
),
...
...
@@ -184,17 +179,14 @@ Future<Document> generateDocument(PdfPageFormat format) async {
decoration:
const
BoxDecoration
(
border:
BoxBorder
(
left:
true
,
color:
green
,
width:
2
)),
),
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
ClipOval
(
child:
Container
(
width:
100
,
height:
100
,
color:
lightGreen
,
child:
profileImage
==
null
?
Container
()
:
Image
(
profileImage
)))
child:
profileImage
==
null
?
Container
()
:
Image
(
profileImage
)))
])
]),
));
...
...
Please
register
or
login
to post a comment