ns_google_map_location_picker 0.0.3+1 ns_google_map_location_picker: ^0.0.3+1 copied to clipboard
A Flutter plugin which allows user to pick location using Google Maps.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ns_google_map_location_picker
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ns_google_map_location_picker: ^0.0.3+1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ns_google_map_location_picker/common_widgets/maps_widget.dart';
import 'package:ns_google_map_location_picker/models/google_map_model.dart';
import 'package:ns_google_map_location_picker/screens/location_picker.dart';
import 'package:ns_google_map_location_picker/services/api.dart';
import 'package:ns_google_map_location_picker/services/google_maps_service.dart';
import 'package:ns_google_map_location_picker/themes/app_colors.dart';
import 'package:ns_google_map_location_picker/themes/app_textstyles.dart';
import 'package:ns_google_map_location_picker/themes/app_theme.dart';
import 'package:ns_google_map_location_picker/utils/app_constants.dart';
import 'package:ns_google_map_location_picker/utils/assets.dart';
import 'package:ns_google_map_location_picker/utils/keys/api_keys.dart';
import 'package:ns_google_map_location_picker/utils/sizes.dart';
import 'package:ns_google_map_location_picker/utils/strings.dart';