'How to save QR Scan details to listview using flutter?

I am currently building a QR Scanner App using flutter.  There I want to know how to scan a QR Code and save it permanently(using shared preferences) with the Details button.  Give me an example of this (there is no need to scan a Qr, there is only a simple text title and a description of how to save a circle avater).

image for example



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source