SIGN IN SIGN UP

Add RelativeRect.fromDirectional factory (#107059)

Add `fromDirectional` factory to `RelativeRect` for when an app needs to consider both TextDirection.ltr and TextDirection.rtl.

```
RelativeRect.fromDirectional(
    textDirection: textDirection,
    start: 10.0,
    top: 20.0,
    end: 30.0,
    bottom: 40.0,
);
```

Addresses https://github.com/flutter/flutter/issues/107058.
K
Kohei Seino committed
41405ff0f3cade57df10d4cdfed7bd5b72d27398
Parent: 118248b
Committed by GitHub <noreply@github.com> on 7/7/2022, 5:18:06 PM