Add RTL support to Stack (#11973)
Notice that the default alignment for Stack needs to know the directionality.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user