getx
getx copied to clipboard
RTL Icon Padding Issue in Get.rawSnackbar()
Dear GetX Team,
I'm encountering an issue with Get.rawSnackbar()
in my RTL (Right-to-Left) application. The spacing between the icon and the message appears to be doubled compared to LTR (Left-to-Right) mode. This creates an unbalanced and visually unappealing layout, especially for longer messages.
If possible, I would greatly appreciate it if you could consider addressing this icon padding issue to improve the rendering of Get.rawSnackbar()
in RTL applications.
For your reference, I've attached a screenshot that visually demonstrates the problem.
Thank you for your time and attention to this matter.
example:
// should run in a RTL app
Get.rawSnackbar(
message: 'نص اختباري',
snackPosition: SnackPosition.TOP,
margin: const EdgeInsets.all(16),
icon: const Icon(
Icons.check_circle_outlined,
color: Colors.white
),
);
To Reproduce Steps to reproduce the behavior:
- call a Get.rawSnackbar() in a RTL app
Screenshots
another example:
Flutter Version: 3.19.4
Getx Version: 4.6.6
Describe on which device you found the bug: IOS Simulator and Android Emulator
@jonataslaw Is there a solution to this problem?