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. At this moment the Android and iOS platform implementations are also part of this package;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_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.