fixed rtl supoort in some pages
This commit is contained in:
@@ -31,6 +31,7 @@ class TenderCard extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final directionality = Directionality.of(context);
|
||||
return InkWell(
|
||||
onTap: enableTap ? onTap : null,
|
||||
child: Container(
|
||||
@@ -67,7 +68,15 @@ class TenderCard extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
enableTap
|
||||
? SvgPicture.asset(AssetsManager.arrowRight)
|
||||
? SvgPicture.asset(
|
||||
directionality == TextDirection.rtl
|
||||
? AssetsManager.leftArrow
|
||||
: AssetsManager.arrowRight,
|
||||
colorFilter: ColorFilter.mode(
|
||||
AppColors.grey50,
|
||||
BlendMode.srcIn,
|
||||
),
|
||||
)
|
||||
: const SizedBox(),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user