SIGN IN SIGN UP

RTL: Padding, Flex (#11709)

* Introduce a Directionality inherited widget which sets the ambient LTR vs RTL mode (defaulting to null, which means you cannot use directionality-influenced values).

* Make it possible to configure Padding (including Container.padding and Container.margin) using a directionality-agnostic EdgeInsets variant.

* Provide textDirection and verticalDirection controls on Row and Column to make them RTL-aware.

* Introduce a variant of FractionalOffset based on the EdgeInsets variant. Not yet actually used.

* Fix all the tests that depended on Row defaulting to LTR.
I
Ian Hickson committed
f235a2c104d8bbbdcdcab1716c366e9cfa3e4787
Parent: 3dd1a05
Committed by GitHub <noreply@github.com> on 8/28/2017, 7:50:24 PM