resolve method
Physical insets for direction.
Implementation
@override
EdgeInsets resolve(TextDirection direction) {
if (direction == TextDirection.rtl) {
return EdgeInsets.fromLTRB(end, top, start, bottom);
}
return EdgeInsets.fromLTRB(start, top, end, bottom);
}