getScriptDirection method
Return the usual direction that text in this script is written in.
Possible return values are "rtl" for right-to-left,
"ltr" for left-to-right, and "ttb" for top-to-bottom.
Implementation
String getScriptDirection() {
return (_info?['rtl'] as bool?) ?? false ? 'rtl' : 'ltr';
}