flutter_arc_text
0.6.0, released 3 years ago by ookamikb.dev
Flutter widget that renders text along an arc with configurable radius.
What it does
Provides an ArcText widget that draws text along a curved path. Supports configurations for radius, text styles, start angles, alignment, placement, and direction.
AI-written summary of version 0.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to render curved or circular text in your UI
- You want a customizable widget for text along an arc without writing custom painting code
Skip it when
- You need complex text layouts that are not circular or curved
- You require advanced text effects unrelated to arc paths
Strengths
- Simple and straightforward declarative API
- Configurable radius, placement, and direction
Weaknesses
- Limited to a single specific visual task (rendering text along an arc)
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) => ArcText(
radius: 100,
text: 'Hello, Flutter!',
textStyle: TextStyle(fontSize: 18, color: Colors.black),
startAngle: -pi / 2,
startAngleAlignment: StartAngleAlignment.start,
placement: Placement.outside,
direction: Direction.clockwise
);
}Alternatives
Packages that do the same job and could replace flutter_arc_text.
- flutter_link_previewer
Customizable Flutter widget to fetch and render URL link previews.
91Compare - super_text_layout
Configurable and extensible text display for custom decorations in Flutter.
88Compare - re_editor
A lightweight text and code editor widget for Flutter with syntax highlighting and folding.
80Compare - val_latex_flutter
Render LaTeX math formulas, inline math, and Markdown with math in Flutter.
78Compare
Works with
Packages commonly used together with flutter_arc_text: ones it builds on, ones built on it, and its own family.