isRTL method

bool isRTL(
  1. BuildContext context
)

Implementation

bool isRTL(BuildContext context) {
  return Bidi.isRtlLanguage(Localizations.localeOf(context).languageCode);
}