hoc081098 / flutter_google_places_hoc081098

Better flutter_google_places, updated by @hoc081098
https://pub.dev/packages/flutter_google_places_hoc081098
Other
18 stars 33 forks source link

update minimal flutter sdk to 2.2.0 #13

Closed fauzipadlaw closed 3 years ago

fauzipadlaw commented 3 years ago

I was using flutter 2.0.6 and using flutter_google_places_hoc081098: ^1.0.0-nullsafety.4. When run the app, I encountered error

../../.pub-cache/hosted/pub.dartlang.org/flutter_google_places_hoc081098-1.0.0-nullsafety.4/lib/src/flutter_google_places.dart:261:9: Error: No named parameter with the name 'color'.
            color: Theme.of(context).colorScheme.secondary,
            ^^^^^
    ../../SDKs/flutold/packages/flutter/lib/src/material/progress_indicator.dart:304:9: Context: Found this candidate, but the arguments don't match.
      const LinearProgressIndicator({
            ^^^^^^^^^^^^^^^^^^^^^^^

I did some research that this parameter was added to flutter version 2.2.0 https://flutter.dev/docs/development/tools/sdk/release-notes

fauzipadlaw commented 3 years ago

related to #12

hoc081098 commented 3 years ago

Thanks @fauzipadlaw