curved_text_codespark 0.0.1
curved_text_codespark: ^0.0.1 copied to clipboard
Render text along circular, spiral, wave, elliptical, or custom paths with full animation, interactivity, and styling. A modern curved text widget for Flutter.

๐ curved_text_codespark #
Next-level Flutter text rendering โ wrap your words around curves, waves, spirals & paths!
Perfect for logos, animations, interactive UIs, and attention-grabbing designs.
โจ Features #
โ
Circular, elliptical, spiral, wave, and custom curved text
โ
Customizable radius, spacing, direction, baseline, and angle
โ
Per-character style control via builder
โ
Animate text along the path
โ
Character tap callbacks
โ
RTL and multiline-ready architecture
โ
Works with TextStyle
, emojis, symbols, and more
โ
Null-safe, Flutter 3.x compatible
๐ธ Preview #


๐ Getting Started #
Add to your pubspec.yaml
:
dependencies:
curved_text_codespark: ^0.0.1
Import in your Dart file:
import 'package:curved_text_codespark/curved_text_codespark.dart';
๐งช Example #
CurvedText(
text: 'CURVED TEXT CODESPARK',
options: CurvedTextOptions(
curveType: CurveType.circular,
radius: 120,
spacing: 8,
clockwise: true,
rtl: false,
defaultTextStyle: TextStyle(
fontSize: 20,
color: Colors.tealAccent,
fontWeight: FontWeight.bold,
),
),
onCharTap: (index, char) {
print('Tapped: "$char" at index $index');
},
styleBuilder: (index, char) {
return TextStyle(
fontSize: 20 + (index % 4) * 2,
color: index.isEven ? Colors.tealAccent : Colors.orangeAccent,
);
},
)
๐ Comparison with Other Packages #
Feature / Package | curved_text_codespark |
curved_text |
curved_render_text |
flutter_circular_text |
---|---|---|---|---|
Circular Text | โ | โ | โ | โ |
Elliptical / Spiral / Wave | โ | โ | โ | โ |
Custom Path Support | โ (planned) | โ | โ | โ |
Per-character Styling | โ | โ | โ | โ |
Tap Callbacks | โ | โ | โ | โ |
RTL Support | โ | โ | โ | โ |
Text Animation | โ (early) | โ | โ | โ |
Null Safety & Flutter 3.x Compatibility | โ | โ ๏ธ Partial | โ | โ |
Maintained | โ | โ | โ | โ |
๐งฉ Roadmap #
- โ Circular/elliptical curved text
- โ Tap detection on characters
- โ Style builder support
- โ Spiral / Sine / Arc / Bezier / SVG path text
- โ Scroll-responsive curvature
- โ Custom painter API for integration into canvas
- โ Text shadows & gradient fills
- โ Multiline & RTL text support
- โ Path morph animations
๐ค Why curved_text_codespark
? #
Other packages stop at circular text. We go around and beyond it โ with animations, interactivity, styling freedom, and upcoming full-path rendering support.
Whether you're making a logo, a radial menu, or eye-catching titles, this package gives you the flexibility and finesse missing from others.
๐จโ๐ป Maintainer #
Built and maintained by K Sai Kiran
Have ideas or feedback? PRs & issues welcome! โญ๏ธ Star the GitHub repo to support ongoing development.