isCurrentLocaleRtl static method
Check if the current locale uses right-to-left text direction.
Implementation
static bool isCurrentLocaleRtl({BuildContext? context}) {
return isRtlLanguage(getLanguageCode(context: context));
}
Check if the current locale uses right-to-left text direction.
static bool isCurrentLocaleRtl({BuildContext? context}) {
return isRtlLanguage(getLanguageCode(context: context));
}