Google Sheets users can add dynamic barcodes via the ActiveBarcode REST API into tables.
It's pure and simple. No Add-On and no script is required with this straight forward approach. Just use the url from the REST API directly in the IMAGE function and that's it. If the content of cell A1 changes, the barcode changes automatically, too.
This screenshot shows the resulting barcode in the Google Sheet that encodes the content of cell A1.