rtl static method

FluentAutoSuggestThemeData rtl({
  1. bool isDark = false,
})

RTL theme preset for right-to-left languages (Arabic, Hebrew, etc.)

Implementation

static FluentAutoSuggestThemeData rtl({bool isDark = false}) {
  final base = isDark ? dark() : light();
  return base.copyWith(
    textDirection: TextDirection.rtl,
    rtlMirrorIcons: true,
    rtlMirrorLayout: true,
  );
}