The Flutter geolocator plugin is build 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:
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 thegeolocator
plugin you can refer to its README.md file.geolocator_android
: this package contains the endorsed Android implementation of the geolocator_platform_interface and adds Android support to thegeolocator
app facing package. More information can be found in its README.md file;geolocator_apple
: this package contains the endorsed iOS and macOS implementations of the geolocator_platform_interface and adds iOS and macOS support to thegeolocator
app facing package. More information can be found in its README.md file;geolocator_web
: this package contains the endorsed web implementation of the geolocator_platform_interface and adds web support to thegeolocator
app facing package. More information can be found in its README.md file;geolocator_windows
: this package contains the endorsed Windows implementation of the geolocator_platform_interface and adds Windows support to thegeolocator
app facing package. More information can be found in its README.md file;geolocator_platform_interface
: this packages declares the interface which all platform packages must implement to support the app-facing package. Instructions on how to implement a platform packages can be found in the README.md of thegeolocator_platform_interface
package.