fluttercommunity / flutter_google_places

Google Places - Google places autocomplete widgets for flutter. No wrapper, use https://pub.dev/packages/google_maps_webservice. Maintainer: @juliansteenbakker
https://pub.dev/packages/flutter_google_places
Other
303 stars 413 forks source link

Method 'cancel' cannot be called on 'Timer?' because it is potentially null #180

Closed BaptisteCool closed 2 years ago

BaptisteCool commented 2 years ago

I have this error since i upgrated dart and flutter to last version.

lib/src/flutter_google_places.dart:468:17: Error: Method 'cancel' cannot be called on 'Timer?' because it is potentially null.

do you know the problem ?

PascalOtto commented 2 years ago

bug was fixed in #181

just needs to be pushed to pub.dev @juliansteenbakker

juliansteenbakker commented 2 years ago

Please see https://github.com/fluttercommunity/flutter_google_places/issues/182. Until this is fixed i can't publish it.

juliansteenbakker commented 2 years ago

Please use this for now:

  flutter_google_places:
    git:
      url: https://github.com/fluttercommunity/flutter_google_places
      ref: v0.3.2