google_map_service 0.0.1 copy "google_map_service: ^0.0.1" to clipboard
google_map_service: ^0.0.1 copied to clipboard

A Flutter package that provides a complete service layer for Google Maps, including APIs for map initialization, markers, geocoding, directions, places, and distance calculations — all in a clean, eas [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add google_map_service

With Flutter:

 $ flutter pub add google_map_service

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  google_map_service: ^0.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:google_map_service/core/errors/exception_handling.dart';
import 'package:google_map_service/core/extensions/location_ext.dart';
import 'package:google_map_service/core/network/api_client.dart';
import 'package:google_map_service/core/network/api_constants.dart';
import 'package:google_map_service/core/network/api_exception.dart';
import 'package:google_map_service/core/network/https_status_code.dart';
import 'package:google_map_service/data/models/google_map/marker_type.dart';
import 'package:google_map_service/data/models/google_map/place_detail_by_geocode_response.dart';
import 'package:google_map_service/data/models/google_map/place_detail_response.dart';
import 'package:google_map_service/data/models/google_map/places_response.dart';
import 'package:google_map_service/data/models/google_map/routes_response.dart';
import 'package:google_map_service/data/repositories/google_map_service.dart';
0
likes
0
points
231
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides a complete service layer for Google Maps, including APIs for map initialization, markers, geocoding, directions, places, and distance calculations — all in a clean, easy-to-use architecture.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, google_maps_flutter_platform_interface, http

More

Packages that depend on google_map_service