Add RTL support to Stack (#11973)

Notice that the default alignment for Stack needs to know the
directionality.
This commit is contained in:
Adam Barth
2017-09-07 22:52:36 -07:00
committed by GitHub
parent 1792766a88
commit c46347b6df
30 changed files with 1500 additions and 1056 deletions

View File

@@ -112,6 +112,7 @@ void main() {
// The bottom later is our RenderDots object, and on top of that we show the
// text.
final RenderStack stack = new RenderStack(
textDirection: TextDirection.ltr,
children: <RenderBox>[
new RenderDots(),
paragraph,