Home

Awesome

Flutter geolocator plugin

The Flutter geolocator plugin is built following the federated plugin architecture. A detailed explanation of the federated plugin concept can be found in the Flutter documentation. This means the geolocator plugin is separated into the following packages:

  1. geolocator: the app facing package. This is the package users depend on to use the plugin in their project. For details on how to use the geolocator plugin you can refer to its README.md file.
  2. geolocator_android: this package contains the endorsed Android implementation of the geolocator_platform_interface and adds Android support to the geolocator app facing package. More information can be found in its README.md file;
  3. geolocator_apple: this package contains the endorsed iOS and macOS implementations of the geolocator_platform_interface and adds iOS and macOS support to the geolocator app facing package. More information can be found in its README.md file;
  4. geolocator_web: this package contains the endorsed web implementation of the geolocator_platform_interface and adds web support to the geolocator app facing package. More information can be found in its README.md file;
  5. geolocator_windows: this package contains the endorsed Windows implementation of the geolocator_platform_interface and adds Windows support to the geolocator app facing package. More information can be found in its README.md file;
  6. geolocator_platform_interface: this package declares the interface which all platform packages must implement to support the app-facing package. Instructions on how to implement a platform package can be found in the README.md of the geolocator_platform_interface package.