Skip to content

Upgrading location 2 to 3

Unknown2.5.4 → 3.2.4

Fetching 9 releases from GitHub…0 / 9
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Dart SDK requirement changed in 3.1.0: >=2.0.0 <3.0.0 → >=2.1.0 <3.0.0.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • removed: class LocationData
  • removed: ctor Location.private(this._methodChannel, this._eventChannel)
  • removed: ctor LocationData.fromMap(Map<String, double> dataMap)
  • removed: enum LocationAccuracy
  • removed: enum PermissionStatus
  • removed: field LocationData.accuracy: final double
  • removed: field LocationData.altitude: final double
  • removed: field LocationData.heading: final double
  • removed: field LocationData.latitude: final double
  • removed: field LocationData.longitude: final double
  • removed: field LocationData.speed: final double
  • removed: field LocationData.speedAccuracy: final double
  • removed: field LocationData.time: final double
  • removed: member LocationAccuracy.BALANCED
  • removed: member LocationAccuracy.HIGH
  • removed: member LocationAccuracy.LOW
  • removed: member LocationAccuracy.NAVIGATION
  • removed: member LocationAccuracy.POWERSAVE
  • removed: member PermissionStatus.DENIED
  • removed: member PermissionStatus.DENIED_FOREVER
  • removed: member PermissionStatus.GRANTED
  • removed: method Location.onLocationChanged(): Stream<LocationData>
  • removed: method LocationData.toString(): String
  • changed: method Location.changeSettings( {LocationAccuracy accuracy = …, int interval = …, double distanceFilter = …}): Future<bool> → method Location.changeSettings({ LocationAccuracy accuracy = …, int interval = …, double distanceFilter = …, }): Future<bool>
  • added: get Location.onLocationChanged: Stream<LocationData>
  • added: method Location.enableBackgroundMode({bool enable}): Future<bool>
  • added: method Location.isBackgroundModeEnabled(): Future<bool>
  • added: static field Location.instance: final Location