You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../../../../../flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_place_picker-2.1.0-nullsafety.3/lib/src/google_map_place_picker.dart:339:11: Error: The method 'RaisedButton' isn't defined for the class 'GoogleMapPlacePicker'.
'GoogleMapPlacePicker' is from 'package:google_maps_place_picker/src/google_map_place_picker.dart' ('../../../../../flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_place_picker-2.1.0-nullsafety.3/lib/src/google_map_place_picker.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
RaisedButton(
^^^^^^^^^^^^
it's the error I got can someone help?
The text was updated successfully, but these errors were encountered:
In Flutter 3 you have to use ElevatedButton instead of RaisedButton. It's not your fault, It's deprecated. I submitted a pull request. You just need to change your google_maps_place_picker import for these lines:
In Flutter 3 you have to use ElevatedButton instead of RaisedButton. It's not your fault, It's deprecated. I submitted a pull request. You just need to change your google_maps_place_picker import for these lines:
../../../../../flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_place_picker-2.1.0-nullsafety.3/lib/src/google_map_place_picker.dart:339:11: Error: The method 'RaisedButton' isn't defined for the class 'GoogleMapPlacePicker'.
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
RaisedButton(
^^^^^^^^^^^^
it's the error I got can someone help?
The text was updated successfully, but these errors were encountered: