curl_text 1.1.0 copy "curl_text: ^1.1.0" to clipboard
curl_text: ^1.1.0 copied to clipboard

A simple and flexible Flutter package for creating text with customizable outlines.

CurlText #

CurlText is a lightweight, high-performance Flutter widget for adding stylish, customizable outlines (strokes) to your text. Perfect for UI elements that require high readability or a bold design touch.

Pub Version License: MIT


Features #

  • Customizable Outlines: Easily control stroke width and color.
  • Custom Fonts: Support for fontWeight and fontFamily.
  • Performance Focused: Uses an optimized stacking layer approach for smooth rendering.
  • Simple API: Named parameters aligned with common Flutter Text / TextStyle options for easy drop-in use.
  • Flexible Styling: Fully compatible with standard font configurations.

Getting Started #

Add this package to your project by running:

flutter pub add curl_text

Usage #

import 'package:curl_text/curl_text.dart';

CurlTextWidget(
  text: 'Hello, CurlText!',
  fontSize: 32,
  fontWeight: FontWeight.bold,
  fontFamily: 'Roboto',
  strokeWidth: 3,
  strokeColor: Colors.black,
  textColor: Colors.white,
)

Parameters #

Parameter Type Required Description
text String yes The text to display
fontSize double yes Font size
textColor Color yes Fill color of the text
strokeColor Color yes Outline (stroke) color
strokeWidth double yes Outline (stroke) width
fontWeight FontWeight? no Font weight
fontFamily String? no Font family

Planned / Under Consideration #

  • fontWeight, fontFamily support
  • ✅ Fill color (textColor)
  • ❌ Gradient fill support
  • letterSpacing, textAlign, maxLines, overflow
  • ❌ Multiple stroke layers (inner/outer outline)
  • ❌ Text shadows
  • ❌ RTL / textDirection support

Have a feature request? Open an issue — contributions welcome!

Contributing #

Contributions, issues, and feature requests are welcome. Feel free to check the issues page or submit a pull request.

License #

This project is licensed under the MIT License — see the LICENSE file for details.

1
likes
0
points
103
downloads

Publisher

unverified uploader

Weekly Downloads

A simple and flexible Flutter package for creating text with customizable outlines.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on curl_text