highlight_on_update pub version

🔦 A text widget that is getting highlighted when the text is updated.

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...