flutter_text_drawable
1.0.0, released 6 years ago by akora-ingdkb.me
A Flutter widget to display customizable text avatars with optional tap-to-select behavior.
What it does
It renders a circular or rectangular avatar showing the first character of a string. The avatar can animate to a check icon on tap and provides a ListTile wrapper for selectable list items.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need simple text‑based user avatars
- You want a tappable avatar that toggles selection state
- You need a lightweight widget without external image dependencies
Skip it when
- You require image‑based avatars or network pictures
- You need multi‑character or rich‑text avatars
- You need advanced animation or theming beyond the provided options
Strengths
- Very easy to integrate
- Supports tap‑to‑select with built‑in animation
- Customizable size, shape, colors, and border radius
Weaknesses
- Only displays a single character
- No support for image avatars
- Limited animation/customization options
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
TextDrawable(
text: "A",
isTappable: true,
onTap: (selected) => print('selected: $selected'),
);Alternatives
Packages that do the same job and could replace flutter_text_drawable.
- re_editor
A lightweight text and code editor widget for Flutter with syntax highlighting and folding.
80Compare - feedback
Widget to collect annotated screenshots and text feedback from users
84Compare - dough
Provides squishy UI widgets for Flutter
50Compare - colorize_text_avatar
Generate text avatars based on user initials and custom specifications.
41Compare