flutter_speed_dial
flutter_speed_dial copied to clipboard
Issue In The RTL View
Hi... I'm had used this library with 3.0.5 version, and it was works just fine. when I did update for the latest version (4.3.0), I got problem in showing the floating action in RTL. the icons and part of the text are missing

Use switchLabelPosition property and set it to true when using RTL. Just to remind you this library is not being maintained currently.
If I but switchLabelPostion to true, it will switch the label and the icon positions, And i don't want that. I just wanted to show it properly!
This is how it should look like (using 3.0.5 version):

And this is how it's now (using 4.3.0 version):

there should be a way to show it properly or adding some margin or offset !! PS: I don't think the default view of the actions in the RTL view should be out of the screen
I face the same problem any solution guys
it will be awesome if you follow the directionality with up and down direction
Same issue here, any idea what widget/configuration causing this in the plugin?
@a7md0 until now not fixed, downgrade to 3.0.5
If I but switchLabelPostion to true, it will switch the label and the icon positions, And i don't want that. I just wanted to show it properly!
This is how it should look like (using 3.0.5 version):
No offense, but I'm not arabic, so I don't see the difference between what you want and what I see by putting switchLabelPosition to true
That's what I see:

Please show me what's the issue so I can try to fix that
-using latest version: 5.1.0
No answer for more than 2 weeks. Closing as it works on my machine
Dears @prateekmedia @luca-colazzo , please your support, I faced this issue when showing the floating action in RTL, using v 6.2.0, tried v 5.1.0 and found the same issue.
when set switchLabelPosition and locate at FloatingActionButtonLocation.endFloat

Can you please be more specific?
@luca-colazzo
when my app is in RTL mode for Arabic or Urdu languages , the speedDial children are not aligned as expected like this one

switchLabelPosition value is depending on the current local
and the position for speedDial set as floatingActionButtonLocation: FloatingActionButtonLocation.endFloat,
but the result as shown in the last comment
tried versions 6.2.0 and 5.1.0 and have the same result
I have the same issue. when I use hebrew with "switchLabelPosition: true" then the icons are now shown on screen
when changing RTL lang Arabic Hedin icon how can fix it ??
when changing RTL lang Arabic Hedin icon how can fix it ??
error when using the label
when changing RTL lang Arabic Hedin icon how can fix it ??
error when using the label
fixing using labelWidget no used label Mostly label not support RTL
To reproduce this weird behavior, change the device language to RTL language, with the FAB aligned as bottomEnd, and the speed dial direction as SpeedDialDirection.up.

If we use switchLabelPosition we could see the child's labels but it's not aligned correctly.

It appears that the labels are rendered as RTL, but I think there's an issue in the offset of the CompositedTransformFollower widget, but I am not sure.
I have had a go at trying to fix this. I have only tested for SpeedDialDirection.up so far.
The updated code is available here https://github.com/paulcappadona/flutter_speed_dial.git
You can set it up in your pubspec.yaml as follows
flutter_speed_dial: path: https://github.com/paulcappadona/flutter_speed_dial.git