highlight_on_update 0.0.1+3
highlight_on_update: ^0.0.1+3 copied to clipboard
A text widget that is getting highlighted when the text is updated.
highlight_on_update
#
🔦 A text widget that is getting highlighted when the text is updated.
![](https://user-images.githubusercontent.com/33932162/174478855-dd13f305-ef44-4a00-b98e-198a1513d3ba.gif)
Example #
Check out the example.
Getting started #
pub #
Add the package to pubspec.yaml:
dependencies:
highlight_on_update:
Use it! #
Row(
children: [
const Text(
'Current price: \$',
style: TextStyle(fontSize: 20),
),
HighlightOnUpdateText(
_priceText, // This text will be highlighted when updated.
style: const TextStyle(fontSize: 20),
),
],
),
TODO: Describe params and theming...