flutter-geolocator icon indicating copy to clipboard operation
flutter-geolocator copied to clipboard

Fixed issue in geolocator_web [A value of type num cannot be assign t…

Open HKTareen opened this issue 6 months ago • 2 comments

On the web, package was giving error : num cannot be assign to double so i just cast to double in the Constructor

List at least one fixed issue.

  1. Casting from num to double in the web

Pre-launch Checklist

  • [ ] I made sure the project builds.
  • [x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • [x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes.
  • [x] I updated CHANGELOG.md to add a description of the change.
  • [ ] I updated/added relevant documentation (doc comments with ///).
  • [x] I rebased onto main.
  • [ ] I added new tests to check the change I am making, or this PR does not need tests.
  • [x] I made sure all existing and new tests are passing.
  • [ ] I ran dart format . and committed any changes.
  • [ ] I ran flutter analyze and fixed any errors.

HKTareen avatar Apr 28 '25 09:04 HKTareen