mohesu / map_location_picker

Map location picker for flutter Based on google_maps_flutter
Apache License 2.0
46 stars 68 forks source link

1.3.0-beta.1 : How do you add padding to autocomplete list? #39

Open michelemendel opened 9 months ago

michelemendel commented 9 months ago

The results in the list have no padding. Is there a way to add this?

I tried to implement listBuilder - which show the results with some padding - but didn't know how to add the data to the bottom bar when clicking on it.


    listBuilder: (context, p) {
      return ListView.builder(
          shrinkWrap: true,
          itemCount: p?.length,
          itemBuilder: (context, i) {
            return ListTile(
              title: Text('${p?[i].placeId}: ${p?[i].description}'),
              onTap: () {
                // What to do here?
              },
            );
          });
    },```
swarupbc commented 3 months ago

Same issue @rvndsngwn