simple_rich_text
2.0.49, released 6 years ago by onlyup.com
Display formatted rich text using simple characters like asterisks and slashes.
What it does
Allows developers to style text easily by using standard characters like asterisks for bold and slashes for italics. It also supports colors and basic navigation attributes via curly brackets.
AI-written summary of version 2.0.49, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a low-friction way to add inline bold, italics, underlines, and colors to strings.
- You want simple text-based hyperlinks that interact with the navigation stack.
Skip it when
- You require full markdown compliance.
- You need user-definable custom formatting callback functions.
Strengths
- Very low development friction compared to traditional RichText or pattern-matching packages.
- Supports basic routing and color configurations inline using curly brackets.
Weaknesses
- Non-standard formatting characters that are not markdown-compatible.
- Lacks user-definable format characters and custom formatting callbacks.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Ancestor must have textDirection set explicitly or through MaterialApp.
SimpleRichText(r'*_/this is all three*_/ (*{color:red}bold*, _{color:green}underlined_, and /{color:brown}italicized/)')Alternatives
Packages that do the same job and could replace simple_rich_text.
- super_text_layout
Configurable and extensible text display for custom decorations in Flutter.
88Compare - gpt_markdown
Powerful Flutter Markdown and LaTeX renderer built for AI streaming outputs.
94Compare - syncfusion_flutter_datagrid
DataGrid widget for tabular data with editing, sorting, paging and export.
91Compare - textf
Drop-in Text and TextEditingController replacements for inline Markdown-like text formatting
81Compare
Works with
Packages commonly used together with simple_rich_text: ones it builds on, ones built on it, and its own family.