matanshukry / flutter_google_places_sdk

Flutter plugin for google places native sdk
32 stars 68 forks source link

Retrieving place photos #29

Open sarbogast opened 1 year ago

sarbogast commented 1 year ago

Is there any particular reason why you return only the string value of photo attributions in metadata instead of the full link? Because according to Google Places rules, we are supposed to include a tappable link to those attributions when presenting the image.

Also, is there any particular reason why image is returned as an Image widget instead of directly as a Uint8List? If is was possible to get the raw image data, we could do something else with it, store it somewhere (but maybe that's against the ToS, I don't know), or build our own memory image with custom parameters (especially for fit).