bidi 1.0.0+3 bidi: ^1.0.0+3 copied to clipboard
Implementation of the BIDI algorithm, as described in http://www.unicode.org/reports/tr9/tr9-17.html.
bidi #
Implementation of the BIDI algorithm, as described in http://www.unicode.org/reports/tr9/tr9-17.html.
Converts logical strings to their equivalent visual representation. Persian, Hebrew and Arabic languages (and any other RTL language) are supported.
Getting Started #
In your pubspec.yaml
file add:
dependencies:
bidi: any
Then, in your code import and use the package:
import 'package:bidi/bidi.dart' as bidi;
final visual = bidi.logicalToVisual('نوشته پارسی اینجا گذاشته شود.');
print(visual);