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
2023-05-18 10:02:36 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1fdadf055efeec81be44bdc6fedd50ae54ca62de
1fdadf05
1 parent
507ecad9
TableHelper data accepts Widgets as child
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
pdf/CHANGELOG.md
pdf/lib/src/widgets/table_helper.dart
pdf/CHANGELOG.md
View file @
1fdadf0
...
...
@@ -3,6 +3,7 @@
## 3.10.4
-
Fix Deprecation warning message
-
TableHelper data accepts Widgets as child
## 3.10.3
...
...
pdf/lib/src/widgets/table_helper.dart
View file @
1fdadf0
...
...
@@ -98,12 +98,14 @@ mixin TableHelper {
padding:
headerPadding
,
decoration:
headerCellDecoration
,
constraints:
BoxConstraints
(
minHeight:
headerHeight
),
child:
Text
(
headerFormat
==
null
?
cell
.
toString
()
:
headerFormat
(
tableRow
.
length
,
cell
),
style:
headerStyle
,
),
child:
cell
is
Widget
?
cell
:
Text
(
headerFormat
==
null
?
cell
.
toString
()
:
headerFormat
(
tableRow
.
length
,
cell
),
style:
headerStyle
,
),
),
);
}
...
...
@@ -129,13 +131,15 @@ mixin TableHelper {
alignment:
align
,
padding:
headerPadding
,
constraints:
BoxConstraints
(
minHeight:
headerHeight
),
child:
Text
(
headerFormat
==
null
?
cell
.
toString
()
:
headerFormat
(
tableRow
.
length
,
cell
),
style:
headerStyle
,
textAlign:
textAlign
,
),
child:
cell
is
Widget
?
cell
:
Text
(
headerFormat
==
null
?
cell
.
toString
()
:
headerFormat
(
tableRow
.
length
,
cell
),
style:
headerStyle
,
textAlign:
textAlign
,
),
),
);
}
...
...
Please
register
or
login
to post a comment