Can't use camera package

Issue

I added Camera to the pubspec.yaml file.

However, when I enter flutter packages get in the terminal, an error occurs.

Error image

Can I get advice on what to do?

Solution

This is because your project name is also camera change your project name and it will run perfectly.

Answered By – Viren V Varasadiya

Answer Checked By – David Marino (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *