stroke_text
1.0.0, released 2 years ago by mohamed-abdo.com
A simple Flutter widget to apply a stroke or border style to text.
What it does
Provides a single-purpose widget called StrokeText that renders text with custom stroke colors and stroke widths. It also supports text styling, text alignment, and maximum lines.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display text with an outlined border or stroke effect in Flutter.
- You want a quick way to customize text stroke width and color without complex custom painters.
Skip it when
- You need complex text animations or rich text formatting beyond basic text styles.
Strengths
- Easy to integrate and use with familiar TextStyle parameters.
- Supports customizable stroke color and width.
- Supports textAlign and maxLines properties.
Weaknesses
- Limited feature set beyond basic text stroking.
- No advanced text effects or rich text builder support documented.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
StrokeText(
text: "Flutter",
textStyle: TextStyle(
fontSize: 50,
color: Colors.green
),
strokeColor: Colors.amber,
strokeWidth: 5,
)Alternatives
Packages that do the same job and could replace stroke_text.
- bordered_text
Flutter plugin for applying subtle stroke to a Text widget.
69Compare - circle_progress_bar
An animated circular progress bar widget with customizable style and text inside.
59Compare - flutter_markdown_plus
A Markdown renderer widget for Flutter to display rich text from plain text data.
77Compare - ticketcher
Create ticket-style cards, boarding passes, and coupons with custom notches, borders, and dividers.
77Compare