isArabic static method

bool isArabic(
  1. BuildContext context
)

Implementation

static bool isArabic(BuildContext context) {
  //check get before
  LanguageTools.instance();

  //search in cache
  // Log.i( "fastor - isArabic() - result: " + isCacheArabic.toString() );
  return isCacheArabic;
  //  //see the local
  //  String name =  context.locale.toString();
  //  if ( _isEmpty( name ) ) {
  //    name = _default;
  //  }
  // // Log.i( "language - current: " + name );
  //  return name == "ar";
}