Showing
2 changed files
with
8 additions
and
1 deletions
@@ -69,6 +69,8 @@ mixin TableHelper { | @@ -69,6 +69,8 @@ mixin TableHelper { | ||
69 | BoxDecoration? headerCellDecoration, | 69 | BoxDecoration? headerCellDecoration, |
70 | BoxDecoration? rowDecoration, | 70 | BoxDecoration? rowDecoration, |
71 | BoxDecoration? oddRowDecoration, | 71 | BoxDecoration? oddRowDecoration, |
72 | + TextDirection? headerDirection, | ||
73 | + TextDirection? tableDirection, | ||
72 | }) { | 74 | }) { |
73 | assert(headerCount >= 0); | 75 | assert(headerCount >= 0); |
74 | 76 | ||
@@ -105,6 +107,7 @@ mixin TableHelper { | @@ -105,6 +107,7 @@ mixin TableHelper { | ||
105 | ? cell.toString() | 107 | ? cell.toString() |
106 | : headerFormat(tableRow.length, cell), | 108 | : headerFormat(tableRow.length, cell), |
107 | style: headerStyle, | 109 | style: headerStyle, |
110 | + textDirection: headerDirection, | ||
108 | ), | 111 | ), |
109 | ), | 112 | ), |
110 | ); | 113 | ); |
@@ -139,6 +142,7 @@ mixin TableHelper { | @@ -139,6 +142,7 @@ mixin TableHelper { | ||
139 | : headerFormat(tableRow.length, cell), | 142 | : headerFormat(tableRow.length, cell), |
140 | style: headerStyle, | 143 | style: headerStyle, |
141 | textAlign: textAlign, | 144 | textAlign: textAlign, |
145 | + textDirection: headerDirection, | ||
142 | ), | 146 | ), |
143 | ), | 147 | ), |
144 | ); | 148 | ); |
@@ -161,7 +165,9 @@ mixin TableHelper { | @@ -161,7 +165,9 @@ mixin TableHelper { | ||
161 | ? cell.toString() | 165 | ? cell.toString() |
162 | : cellFormat(tableRow.length, cell), | 166 | : cellFormat(tableRow.length, cell), |
163 | style: isOdd ? oddCellStyle : cellStyle, | 167 | style: isOdd ? oddCellStyle : cellStyle, |
164 | - textAlign: _textAlign(align)), | 168 | + textAlign: _textAlign(align), |
169 | + textDirection: tableDirection, | ||
170 | + ), | ||
165 | ), | 171 | ), |
166 | ); | 172 | ); |
167 | } | 173 | } |
-
Please register or login to post a comment