enforceRtlInText static method

String enforceRtlInText(
  1. String text
)

Enforce RTL on both end of the given text using unicode BiDi formatting characters RLE and PDF.

Implementation

static String enforceRtlInText(String text) => '$RLE$text$PDF';