locale method

String locale()

Implementation

String locale() {
  return Directionality.of(context) == TextDirection.ltr ? 'en' : 'ar';
}