google_maps_pagination

Last updated:

0 purchases

google_maps_pagination Image
google_maps_pagination Images
Add to Cart

Description:

google maps pagination

Pagination markers and cards on map with page view #
Features #
Pagination throw google map smoothly using page perPage or skip and limit
Getting started #
no pre requirements required
Usage #
read example

PaginationMap<Item>(
initialCameraPosition: MyApp.initialCameraPosition,
mapController: _mapController,
setMapController: (value) {
setState(() {
_mapController = value;
});
},
currentUserLocation: myFakeLocation(),
pageViewController: _pageController,
onItemsChanged: (skip, cameraPosition) {
return getFakeItems(skip, cameraPosition);
},
markerLabelFormatter: (value) {
return "$value USD";
},
selectedItemId: _selectedItemId,
onSelectedItemChanged: (value) {
setState(() {
_selectedItemId = value;
});
},
pageViewItemBuilder: (BuildContext context, Item item, int index) {
return ItemListTile(item: item, index: index);
},
);

copied to clipboard
Additional information #
Drag map will change camera position and click next or previous will change pagination

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.