himanshusharma89 / himanshusharma89/arcore_example

Issue assigning Vector3 object

Open
#1 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
18
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm following the tutorial and and I ran into this error:

`The argument type 'Vector3' can't be assigned to the parameter type 'Vector3?'.`

![The argument type 'Vector3' can't be assigned to the parameter type 'Vector3?'.](https://user-images.githubusercontent.com/5512235/179996311-3c02fe31-3487-4f73-aa08-7d83ba49aac7.png)

I imported the library `package:vector_math/vector_math.dart`, is it right?
If I remove the import I get: `The method 'Vector3' isn't defined for the type '_LocalAndWebObjectsViewState'.`

How can I fix?
Bye

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.