🔦 A text widget that is getting highlighted when the text is updated.
Check out the example.
Add the package to pubspec.yaml:
dependencies:
highlight_on_update:
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...