getTextDirection static method
Implementation
static TextDirection getTextDirection(BuildContext context){
if ( isArabic(context) ) {
return TextDirection.rtl;
} else {
return TextDirection.ltr;
}
}
static TextDirection getTextDirection(BuildContext context){
if ( isArabic(context) ) {
return TextDirection.rtl;
} else {
return TextDirection.ltr;
}
}