-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtl support #9
Comments
Hi @liadya, |
I ran more tests and in fact, my header was built like this: return new Container(
height: 60.0,
color: Colors.lightBlue,
padding: EdgeInsets.symmetric(horizontal: 16.0),
alignment: Alignment.centerLeft,
child: new Text(
text ?? 'Header #$index',
style: const TextStyle(color: Colors.white),
),
); In my case the If I only set a Can you paste here the method you used to create your headers? |
Hi Roman,
thanks for the response, but currently we move forward with another
implementation.
ps. btw great widget.
…On Wed, Aug 22, 2018 at 12:37 AM Romain Rastel ***@***.***> wrote:
I ran more tests and in fact, my header was built like this:
return new Container(
height: 60.0,
color: Colors.lightBlue,
padding: EdgeInsets.symmetric(horizontal: 16.0),
alignment: Alignment.centerLeft,
child: new Text(
text ?? 'Header #$index',
style: const TextStyle(color: Colors.white),
),
);
In my case the alignment was hard coded to centerLeft.
If I only set a Text, it is correctly rendered with the proper text
direction. So this widget already supports Ltr and Rtl text directions 😃.
Can you paste here the method you used to create your headers?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AINN2J2wsBF9_yc2isrKdRKway2C4d16ks5uTH2ygaJpZM4V94y1>
.
|
Hi @liadya , Ok no problem, I will close this issue then. Thanks for your feedback 😃 |
Please add support for right to left layouts/languages (Hebrew for example),
for example, cannot change the location of the SliverStickyHeader.header to be located on the right side of the list.
The text was updated successfully, but these errors were encountered: