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 was using flutter 2.0.6 and using
flutter_google_places_hoc081098: ^1.0.0-nullsafety.4
. When run the app, I encountered errorI did some research that this parameter was added to flutter version 2.2.0 https://flutter.dev/docs/development/tools/sdk/release-notes