blackmann / locationpicker

Location picker for Flutter.
Other
169 stars 158 forks source link

unable to pub add place_picker ^0.10.0 #88

Open induwarar opened 10 months ago

induwarar commented 10 months ago

Because place_picker >=0.10.0 depends on http ^0.13.5 and project depends on http ^1.1.0, place_picker >=0.10.0 is forbidden. So, because project depends on place_picker ^0.10.0, version solving failed.

lyabs243 commented 9 months ago

The package has not been updated since long, To solve this you can add the package in your pubspec like this:

place_picker:
    git:
      url: https://github.com/lyabs243/locationpicker.git
      ref: 0.10.0
jk-hub commented 3 months ago

@lyabs243

we have an issue on dependency ../../../../.pub-cache/git/locationpicker-f9fb90cd1d592142737e7c75e7b03a7d54b80a8c/lib/widgets/search_input.dart:60:65: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'.

please resolve this issue

ref: 0.10.0 also does not work

lyabs243 commented 2 months ago

@jk-hub It would be better to use an alternative like https://pub.dev/packages/location_picker_flutter_map as this package is not maintained anymore.