tategaki 0.3.0 copy "tategaki: ^0.3.0" to clipboard
tategaki: ^0.3.0 copied to clipboard

A comprehensive Flutter package for Japanese vertical text (tategaki) layout with advanced typography features including ruby, kenten, tatechuyoko, and more.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.3.0 - 2026-01-10 #

Added #

  • Text selection support
    • SelectableVerticalText widget for user text selection
    • Tap to select single character
    • Drag to select text range
    • Long-press to show copy menu
    • Copy to clipboard functionality
    • Selection highlighting with customizable color
    • Selection demo page in example app

New Widgets #

  • SelectableVerticalText - Vertical text with selection support
  • Selection demo at example/lib/demos/selection_demo.dart

Features #

  • Character-level hit testing for accurate selection
  • Visual selection highlighting
  • Context menu with copy action
  • Works with ruby (furigana) and kenten annotations

0.2.0 - 2026-01-10 #

Added #

  • Performance optimizations
    • TextPainter reuse in VerticalTextPainter to reduce allocations
    • TextPainter reuse in VerticalRichTextPainter to reduce allocations
    • Optimized rendering pipeline for better performance

Changed #

  • Reused TextPainter instances in character rendering methods
  • Optimized _drawCharacter() and _drawRuby() methods

Performance Impact #

  • ~50% reduction in TextPainter allocations
  • Improved rendering performance for scrollable vertical text lists
  • Reduced memory pressure during text rendering

0.1.0 - 2026-01-09 #

Added #

  • Initial release
  • Basic vertical text layout (top-to-bottom, right-to-left)
  • Ruby (furigana) support
  • Kenten (emphasis dots) with multiple styles
  • Tatechuyoko (horizontal text in vertical layout)
  • Kinsoku shori (Japanese line breaking rules)
  • Advanced kerning and character spacing
  • Yakumono adjustment (punctuation positioning)
  • Text selection with context menu
  • RichText support for multiple styles
  • Figure layout with captions and text wrapping
1
likes
0
points
293
downloads

Publisher

verified publisherpub.nyapic.com

Weekly Downloads

A comprehensive Flutter package for Japanese vertical text (tategaki) layout with advanced typography features including ruby, kenten, tatechuyoko, and more.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, kinsoku

More

Packages that depend on tategaki