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-16 07:36:45 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5688adc1d193c6000cff053817745eded8dfeb7d
5688adc1
1 parent
cb26253f
Improve Bullet Widget
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
pdf/CHANGELOG.md
pdf/lib/src/widgets/content.dart
pdf/CHANGELOG.md
View file @
5688adc
...
...
@@ -5,6 +5,7 @@
-
Implement To be signed flieds
-
Improve Text rendering
-
Add individual cell decoration
-
Improve Bullet Widget
## 3.2.0
...
...
pdf/lib/src/widgets/content.dart
View file @
5688adc
...
...
@@ -165,8 +165,8 @@ class Paragraph extends StatelessWidget {
}
class
Bullet
extends
StatelessWidget
{
Bullet
(
{
this
.
text
,
Bullet
({
this
.
text
,
this
.
textAlign
=
TextAlign
.
left
,
this
.
style
,
this
.
margin
=
const
EdgeInsets
.
only
(
bottom:
2.0
*
PdfPageFormat
.
mm
),
...
...
@@ -178,7 +178,8 @@ class Bullet extends StatelessWidget {
right:
2.0
*
PdfPageFormat
.
mm
,
),
this
.
bulletShape
=
BoxShape
.
circle
,
this
.
bulletColor
=
PdfColors
.
black
});
this
.
bulletColor
=
PdfColors
.
black
,
});
final
String
?
text
;
...
...
@@ -213,7 +214,9 @@ class Bullet extends StatelessWidget {
decoration:
BoxDecoration
(
color:
bulletColor
,
shape:
bulletShape
),
),
Expanded
(
child:
Text
(
child:
text
==
null
?
SizedBox
()
:
Text
(
text
!,
textAlign:
textAlign
,
style:
Theme
.
of
(
context
).
bulletStyle
.
merge
(
style
),
...
...
Please
register
or
login
to post a comment