Flutter is our first choice for mobile apps, and its right-to-left support is good. Three things still trip teams up: Egyptian month names instead of Syrian ones, a pound sign on Syrian prices, and a name clash in package:intl. Here is the setup we tested.
Give MaterialApp the locale ar_SY and the GlobalMaterialLocalizations delegates, and every widget below it becomes right-to-left: rows start from the right, back arrows point the other way, and text aligns to the right. You do not wrap screens in Directionality yourself.
What does not follow: package:intl ships no data for ar_SY, so it silently falls back to plain ar. Dates come out as نوفمبر instead of تشرين الثاني, including in Material's date picker, and NumberFormat.simpleCurrency prints a £ sign for SYP. Both have short fixes below. We ran every snippet here with flutter test on Flutter 3.44, Dart 3.12 and intl 0.20.2 on 16 November 2026.
Add flutter_localizations (from the SDK) and intl to pubspec.yaml, then build the app with the Syrian Arabic locale. These are the imports the snippets on this page use:
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:intl/date_symbol_data_custom.dart';
import 'package:intl/date_symbol_data_local.dart';
import 'package:intl/date_symbols.dart';
import 'package:intl/date_time_patterns.dart';
import 'package:intl/intl.dart' hide TextDirection; // intl has its own TextDirection
const syrianArabic = Locale('ar', 'SY');
/// Locale ar_SY + the Material/Cupertino translations. This alone makes every widget RTL.
MaterialApp syrianApp({required Widget home}) => MaterialApp(
locale: syrianArabic,
supportedLocales: const [syrianArabic, Locale('en')],
localizationsDelegates: GlobalMaterialLocalizations.delegates,
home: home,
);
Tested: under this MaterialApp, Directionality.of(context) is TextDirection.rtl and the first child of a Row sits to the right of the second.
| In an RTL app | What to write instead | |
|---|---|---|
| Row, Wrap, horizontal ListView | Order reverses automatically | Nothing |
| EdgeInsets.only(left: 16) | Stays on the left, the wrong side | EdgeInsetsDirectional.only(start: 16) |
| Alignment.centerLeft | Stays on the left | AlignmentDirectional.centerStart |
| Positioned(left: 0) | Stays on the left | PositionedDirectional(start: 0) |
| Icons.arrow_back, Icons.arrow_forward | Mirror automatically (matchTextDirection is true) | Nothing |
| Your own arrow images or SVGs | Do not mirror | Flip them yourself when Directionality.of(context) is rtl |
| Phone, card and code fields | Turn RTL with the app | textDirection: TextDirection.ltr on the field |
In Syria the months are كانون الثاني، شباط، آذار and so on. Browsers know this for ar-SY, but package:intl has no ar_SY data: DateFormat.localeExists('ar_SY') returns false and every date falls back to ar, which prints نوفمبر. Register the Syrian names once, in main() before runApp:
const levantineMonths = [
'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران',
'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول',
];
/// package:intl has no ar_SY data: "ar_SY" silently falls back to "ar" (نوفمبر).
/// Call once in main(), before runApp, to register the Syrian month names.
Future<void> registerSyrianArabic() async {
await initializeDateFormatting('ar');
final map = (dateTimeSymbolMap()['ar'] as DateSymbols).serializeToMap()
..['NAME'] = 'ar_SY'
..['MONTHS'] = levantineMonths
..['STANDALONEMONTHS'] = levantineMonths
..['SHORTMONTHS'] = levantineMonths
..['STANDALONESHORTMONTHS'] = levantineMonths;
initializeDateFormattingCustom(
locale: 'ar_SY',
symbols: DateSymbols.deserializeFromMap(map),
patterns: dateTimePatternMap()['ar'],
);
}
Tested: before registering, DateFormat.MMMM('ar_SY') gives نوفمبر. After, it gives تشرين الثاني, yMMMMd gives "5 كانون الثاني 2026", Material's formatMonthYear uses the Syrian names too, and plain ar is unchanged.
NumberFormat.simpleCurrency(locale: 'ar_SY', name: 'SYP') prints "1,251 £": the wrong sign, and rounded to whole pounds. Since the redenomination, prices in new pounds can need decimals. Set the symbol and the decimals yourself:
/// Prices in Syrian pounds. simpleCurrency(name: 'SYP') prints "£", so set the symbol yourself.
String formatSyp(num amount) =>
NumberFormat.currency(locale: 'ar', name: 'SYP', symbol: 'ل.س.', decimalDigits: 2).format(amount);
Tested: formatSyp(1250.5) contains "1,250.50" and "ل.س." and no £. Note that Dart's ar uses Western digits (1,250) while browsers use Arabic-Indic digits (١٬٢٥٠) for ar-SY, so pick one on purpose. Our Syrian pound guide covers the new lira in detail.
A phone number inside an Arabic form should still read left to right, or +963 jumps to the wrong end while the user types. Force the field's direction and align it with the Arabic fields around it:
/// A phone number stays left-to-right inside an Arabic form, aligned with the fields around it.
class SyrianPhoneField extends StatelessWidget {
const SyrianPhoneField({super.key, this.controller});
final TextEditingController? controller;
@override
Widget build(BuildContext context) => TextField(
controller: controller,
keyboardType: TextInputType.phone,
textDirection: TextDirection.ltr,
textAlign: TextAlign.end,
decoration: const InputDecoration(labelText: 'رقم الموبايل'),
);
}
Tested: the field's EditableText has textDirection ltr, textAlign end and the phone keyboard. To validate what users type, see the Syrian phone number checker.
import 'package:intl/intl.dart' hide TextDirection; in every file that also uses Flutter widgets.Set the MaterialApp locale to an Arabic locale such as ar_SY and add GlobalMaterialLocalizations.delegates. Flutter then sets Directionality to RTL for every widget in the app, so rows, icons and text alignment flip without extra code.
Behaviour checked with flutter test (Flutter 3.44, Dart 3.12, intl 0.20.2) on 16 November 2026. Re-run the tests after upgrading intl: if it ever ships ar_SY data, the month-name fix becomes unnecessary.
Tell us about it. We build Arabic-first apps in Flutter and can review yours.