Home > Software design >  Please solve this error as soon as possible
Please solve this error as soon as possible

Time:05-15

Error detected in pubspec.yaml: Error on line 37, column 3: Expected ':'. ╷ 37 │ cupertino_icons: ^1.0.2: │ ^ ╵ Please correct the pubspec.yaml file at C:\Androidstudio\Projects_8.whatsappclone\pubspec.yaml exit code 1

CodePudding user response:

Remove the colon after dependency's version code

From this:

cupertino_icons: ^1.0.2:

To this:

cupertino_icons: ^1.0.2

CodePudding user response:

Remove the colon near the cupertino_icons version.

cupertino_icons: ^1.0.2: -> cupertino_icons: ^1.0.2

then run flutter pub get again

  • Related