flutter_html icon indicating copy to clipboard operation
flutter_html copied to clipboard

Support Direction based Border and EdgeInsets for RTL

Open YoofiBP opened this issue 3 years ago • 2 comments

Describe your feature request

The Style widget currently supports the Border and EdgeInsets class for borders, padding, margins etc. However this is oriented towards LRT text. We cannot use BorderDirectional and EdgeInsetsDirectional to support RTL instances. The package should support using these.

Additional context

A picture of a cute animal (not mandatory but encouraged)

YoofiBP avatar Apr 14 '22 23:04 YoofiBP

I'm gonna be honest and say that I have little tono experience with RTL text on Flutter, but I absolutely agree that we should cater as much as possible for this. Could you help us by giving some pointers on the things we should change?

erickok avatar May 24 '22 07:05 erickok

#1270 starts to address this. I wonder if we can add some interfacing between our HtmlPaddings and EdgeInsetsDirectional. I'll look into this.

Sub6Resources avatar May 17 '23 22:05 Sub6Resources