I didn't test it but you have flutter package displaying pdf : flutter full pdf viewerYou can find here an example of using this package with a pdf asset.
This error means you have a duplicate import for Image.