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:05:37 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0e2a3875a2ac6a377df0671b283b7de76f8c82c3
0e2a3875
1 parent
1fdadf05
Add RTL support on TableHelper
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
pdf/CHANGELOG.md
pdf/lib/src/widgets/table_helper.dart
pdf/CHANGELOG.md
View file @
0e2a387
...
...
@@ -4,6 +4,7 @@
-
Fix Deprecation warning message
-
TableHelper data accepts Widgets as child
-
Add RTL support on TableHelper
## 3.10.3
...
...
pdf/lib/src/widgets/table_helper.dart
View file @
0e2a387
...
...
@@ -69,6 +69,8 @@ mixin TableHelper {
BoxDecoration
?
headerCellDecoration
,
BoxDecoration
?
rowDecoration
,
BoxDecoration
?
oddRowDecoration
,
TextDirection
?
headerDirection
,
TextDirection
?
tableDirection
,
})
{
assert
(
headerCount
>=
0
);
...
...
@@ -105,6 +107,7 @@ mixin TableHelper {
?
cell
.
toString
()
:
headerFormat
(
tableRow
.
length
,
cell
),
style:
headerStyle
,
textDirection:
headerDirection
,
),
),
);
...
...
@@ -139,6 +142,7 @@ mixin TableHelper {
:
headerFormat
(
tableRow
.
length
,
cell
),
style:
headerStyle
,
textAlign:
textAlign
,
textDirection:
headerDirection
,
),
),
);
...
...
@@ -161,7 +165,9 @@ mixin TableHelper {
?
cell
.
toString
()
:
cellFormat
(
tableRow
.
length
,
cell
),
style:
isOdd
?
oddCellStyle
:
cellStyle
,
textAlign:
_textAlign
(
align
)),
textAlign:
_textAlign
(
align
),
textDirection:
tableDirection
,
),
),
);
}
...
...
Please
register
or
login
to post a comment