image_stack icon indicating copy to clipboard operation
image_stack copied to clipboard

Updated ImageStack to be directionally aware

Open paulcappadona opened this issue 2 years ago • 1 comments

ImageStack was using EdgeInsets when applying padding to the image placed in the Stack widget. This resulted in them being stacked one on top of the other for a locale that renders test from right to left (RTL - Arabic for instance).

Updated the padding to use EdgeInsetsDirectional, so this now renders correctly for both LTR and RTL layouts

paulcappadona avatar Jan 31 '23 13:01 paulcappadona

@paulcappadona thanks for adding this functionality, I will check the PR and get back to you in couple of days

karan413255 avatar Mar 16 '23 08:03 karan413255