smooth_highlight
0.1.2, released 2 years ago by htsuruo.com
Provides a widget that highlights its child with a customizable animation.
WASM-ready
What it does
Wrap any widget with SmoothHighlight to animate a background color flash. ValueChangeHighlight adds automatic highlighting when a supplied value changes, with options to exclude specific transitions.
AI-written summary of version 0.1.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to draw user attention to a widget or changed value
- You want a simple, no‑dependency way to add highlight animations
Skip it when
- Complex multi‑step animations are required
- You need platform‑specific highlight effects
Strengths
- Very easy to integrate via a single widget
- Customizable duration and color
- Supports conditional enabling
Weaknesses
- Limited to simple highlight effect
- No built‑in support for advanced animation curves
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
SmoothHighlight(
color: Colors.yellow,
child: Text('Highlight'),
);Alternatives
Packages that do the same job and could replace smooth_highlight.