escpos_arabic: ESC/POS receipts in pure Dart, with Arabic that prints correctly
by Abdeldjalil Chougui dev.to
5 min read
Printing a receipt on a thermal printer means sending it ESC/POS commands: a stream of bytes that says "bold on", "center this", "print this barcode", "cut the paper". For Latin text that is manageable. For Arabic it goes wrong quickly. The printer does not shape letters, so each one comes out in its isolated form, and it prints bytes in the order it receives them, so a right-to-left line comes o…
More like this
Article 2 min readInternationalization Flutter app (Arabic RTL)
by Mohammad Saeed
Usually when developing apps for Middle East and North Africa, it requires to open in Arabic regardless of the device language. With option…
Read on medium.com- Article 3 min read
Arabic RTL in Flutter: seven problems and how a real project handles them
by Mohamed Salman
Flutter flips most of a layout for you when the locale is Arabic. The rest you find by using the app. This post lists the RTL and localisation problems that show up in a real Flutter project with Arab...
Read on dev.to - Article 5 min read
Building an Arabic-first Flutter app: RTL, 37 screens, and a repository boundary
by Mohamed Salman
Arabic is right-to-left, and most Flutter tutorials quietly assume left-to-right. This post covers how a 94-file, 37-screen Flutter app for the Egyptian real estate market is structured, with Arabic a...
Read on dev.to - Article 5 min read
arabic_text_utils: Arabic numbers to words (tafqit), digits and slugs in pure Dart
by Abdeldjalil Chougui
Any app that prints an invoice or a cheque in Arabic has to write the amount in words. This is called tafqit (تفقيط), and it is much harder than it looks. Arabic numbers change with the gender of the...
Read on dev.to