plug_location_map 1.0.0 copy "plug_location_map: ^1.0.0" to clipboard
plug_location_map: ^1.0.0 copied to clipboard

Plug-and-play Google Maps location package for Flutter. Body-only — host app provides its own AppBar. Handles permissions, GPS, Zomato map picker, Instacart address form, Firebase persistence, offline [...]

Changelog #

1.0.0 #

Initial release.

Features #

  • Body-only architecture — host app provides its own AppBar, package never renders a Scaffold or AppBar.
  • PlugAddress model with clean dot-notation access (.name, .street, .city, .pincode, .lat, .lng, .latlng, .fullAddress, .shortTitle, .isSynced).
  • Zomato-style map picker with a draggable center pin and live reverse-geocoding (600 ms debounce).
  • Instacart-style add/edit address form with address-type pills (Home / Work / Site / Other) and ZIP → city/state auto-fill.
  • Working Google Places autocomplete search (350 ms debounce).
  • "Choose address" list with radio selection; edit opens a full separate page with a delete button.
  • NoLocationScreen shown when the user exits without selecting a location, with an "Add Your Location" CTA.
  • First-open flow: GPS detected with no saved addresses routes straight to the address form.
  • App-open PlugLocationGate resolving saved → GPS → permission/GPS-disabled/no-location states.
  • Live delivery tracking screen with a follow-camera and ETA badge.
  • Riverpod providers for selected address, saved addresses, flow status, live location, search, and form state.
  • Firebase Firestore persistence under users/{userId}/addresses with security rules documented.
  • Offline-first sync via riverpod_offline_sync ^1.0.6 (every add / update / delete is queued with an idempotency key).
  • Permissions via permission_handler_package ^1.0.7.
  • Full theming through PlugMapTheme (AuthColors palette, Urbanist typography, ScreenUtil sizing).
  • Optional GoRouter helpers in plug_router_helper.dart.
0
likes
150
points
109
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Plug-and-play Google Maps location package for Flutter. Body-only — host app provides its own AppBar. Handles permissions, GPS, Zomato map picker, Instacart address form, Firebase persistence, offline sync, and live tracking. Powered by Riverpod · permission_handler_package · riverpod_offline_sync.

Homepage

License

MIT (license)

Dependencies

cloud_firestore, connectivity_plus, equatable, firebase_core, flutter, flutter_animate, flutter_riverpod, flutter_screenutil, geocoding, geolocator, go_router, google_fonts, google_maps_flutter, hive_flutter, http, permission_handler_package, riverpod_offline_sync, shared_preferences, uuid

More

Packages that depend on plug_location_map