How to add a view counter in flutter

I’d like you to guide me on how I can detect if a user has seen an item so implement a view counter

as on the image below

An exemple of view counter

Is there any widget I need to use to get this result? What searches do I need to do to get this result?