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
2021-04-17 11:30:18 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ed9cc16dd71ee0004f09e3018595da771719ed71
ed9cc16d
1 parent
a18385ad
Fix bullet alignment
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
demo/lib/examples/resume.dart
demo/lib/examples/resume.dart
View file @
ed9cc16
...
...
@@ -216,9 +216,11 @@ class _Block extends pw.StatelessWidget {
pw
.
Container
(
width:
6
,
height:
6
,
margin:
const
pw
.
EdgeInsets
.
only
(
top:
2
.5
,
left:
2
,
right:
5
),
margin:
const
pw
.
EdgeInsets
.
only
(
top:
5
.5
,
left:
2
,
right:
5
),
decoration:
const
pw
.
BoxDecoration
(
color:
green
,
shape:
pw
.
BoxShape
.
circle
),
color:
green
,
shape:
pw
.
BoxShape
.
circle
,
),
),
pw
.
Text
(
title
,
style:
pw
.
Theme
.
of
(
context
)
...
...
@@ -255,8 +257,12 @@ class _Category extends pw.StatelessWidget {
borderRadius:
pw
.
BorderRadius
.
all
(
pw
.
Radius
.
circular
(
6
)),
),
margin:
const
pw
.
EdgeInsets
.
only
(
bottom:
10
,
top:
20
),
padding:
const
pw
.
EdgeInsets
.
fromLTRB
(
10
,
7
,
10
,
4
),
child:
pw
.
Text
(
title
,
textScaleFactor:
1.5
));
padding:
const
pw
.
EdgeInsets
.
fromLTRB
(
10
,
4
,
10
,
4
),
child:
pw
.
Text
(
title
,
textScaleFactor:
1.5
,
),
);
}
}
...
...
Please
register
or
login
to post a comment