Skip to content
pubscout

curved_text

0.2.0, released 3 years ago by gbot.dev

A Flutter widget that curves text in place based on a given curvature value.

WASM-ready
$ flutter pub add curved_text
Source repository

What it does

It creates curved text in the center of the space defined by the parent's constraints using a specified curvature and optional text style. It allows text to curve up and down around a fixed point.

AI-written summary of version 0.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display text along a curved path in your Flutter UI.
  • You want to curve text in place without manually calculating a large virtual circle.

Skip it when

  • You need complex multi-line text layouts or advanced typography engines.
  • You are looking for general state management or navigation features.

Strengths

  • Simple API requiring only curvature, text, and an optional text style.
  • Curves text in place within the parent's constraints.

Weaknesses

  • Limited feature set focused strictly on single-string curved text.
  • Relies on an external dependency (flutter_arc_text).

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
return CurvedText(
    curvature: 0.02,
    text: 'Hello, Flutter!',
    textStyle: TextStyle(fontSize: 18, color: Colors.black),
);

Alternatives

Packages that do the same job and could replace curved_text.

Works with

Packages commonly used together with curved_text: ones it builds on, ones built on it, and its own family.