zeba_academy_lit_format

Advanced typography and layout utilities for poetry and literary text in Flutter.

Zeba Academy Lit Format is a Flutter package designed to render poetry and literary content with precise typographic control. It supports hanging indents, stanza spacing, and baseline-aligned line numbers for an academic and visually elegant presentation of text.


Features

  • Stanza-based layout: Organize poems or literary works into logical blocks with configurable spacing.
  • Hanging indents: Automatically applies indentation to wrapped lines for proper poetry formatting.
  • Line numbers: Optional, baseline-aligned line numbering for reference or analysis.
  • Customizable text style: Supports any TextStyle for full control over font, size, color, and weight.
  • Responsive: Handles long lines gracefully without overflow on small screens.
  • Lightweight and pure Flutter: No external dependencies beyond Flutter itself.

Getting Started

Prerequisites

  • Flutter 3.10 or later
  • Dart SDK 3.8 or later

Installation

Add the package to your pubspec.yaml:

dependencies:
  zeba_academy_lit_format: ^0.0.2