Commit 8baf786
content: Use directional layout for block quotations
Previously, the `Quotation` widget hardcoded the border and padding
to the left side. This resulted in an incorrect layout in RTL
locales, where the quote bar remained on the left while the text
aligned to the right.
We now use `EdgeInsetsDirectional` and `BorderDirectional` so that
the layout flips correctly based on the text direction.1 parent 0650c09 commit 8baf786
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
| 471 | + | |
472 | 472 | | |
473 | | - | |
| 473 | + | |
474 | 474 | | |
475 | | - | |
476 | | - | |
| 475 | + | |
| 476 | + | |
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| |||
0 commit comments