location_context library

Classes

LocationContext
The actual inherited widget for the context Use this widget at the root of the tree so that all children will be able to retrieve the current location
Position
The Position information returned by the system

Functions

mockLocation(LocationFactory mock) → void
Test help that allows us to mock the location that is being used

Typedefs

LocationFactory = Location Function()
Type of function that will create a location. Visible for testing so that we can mock the Location information being returned