kashida 0.1.2 copy "kashida: ^0.1.2" to clipboard
kashida: ^0.1.2 copied to clipboard

Flutter kashida (tatweel) for Arabic and Syriac: find insertion points and justify text with KashidaText, layoutParagraphStyled, and TextWidthCache.

0.1.2 #

  • Publish example/kashida_example.dart for the pub.dev Example tab (full Flutter demo stays in the repo for local runs).
  • Depend on kashida_core ^0.1.2.

0.1.0 #

  • Split the pure Dart matcher and layout into the kashida_core package; this package re-exports it and keeps Flutter measuring plus KashidaText.
  • Depend on published kashida_core ^0.1.1.
  • Optional justifyLastLine on layoutParagraph / KashidaText to stretch the last line of each paragraph.
  • KashidaText caches layout and reuses a TextWidthCache across measure calls.
  • Refresh the README and demo GIF; add doc/design.md.

0.0.3 #

  • Expand the example into justify / find-and-insert / rules tabs.
  • Bundle Arabic and Syriac fonts in the example so they load on macOS as well as web.
  • Add a justify demo GIF to the README.

0.0.2 #

  • Insert tatweel with insertKashida and insertKashidaAt, or KashidaAnalysis.insert (same count at every point — not justification).
  • findKashidaPoints now returns KashidaAnalysis and takes a named removeExistingKashida.
  • Wrap and fill lines with layoutParagraph / layoutParagraphStyled / KashidaText.
  • Newlines start a new paragraph; leftover width is KashidaLine.unusedWidth.
  • Infer Syriac fill from the syriac builtin; KashidaPoint.endOffsetIn for string offsets.
  • Add requiredBuiltinPatternSet, findKashidaPointsIn, and export kashida / kashidaCodepoint.

0.0.1 #

  • Initial Dart/Flutter port of raqim-kashida.
  • Compile kashida pattern text (compilePatternText) and look up built-in sets (arabic-naskh, arabic-nastaliq, arabic-simple, syriac).
  • Find insertion points and priorities with findKashidaPoints and findKashidaPointsPatterns.
  • Include an example app that justifies a paragraph from those points.
1
likes
160
points
233
downloads

Documentation

API reference

Publisher

verified publisherbaselhadrous.com

Weekly Downloads

Flutter kashida (tatweel) for Arabic and Syriac: find insertion points and justify text with KashidaText, layoutParagraphStyled, and TextWidthCache.

Repository (GitHub)
View/report issues

Topics

#arabic #rtl #i18n #text #unicode

License

MIT (license)

Dependencies

flutter, kashida_core

More

Packages that depend on kashida