Skip to content

Upgrading location 3 to 4

Unknown3.2.4 → 4.4.0

Fetching 12 releases from GitHub…0 / 12
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 4.0.0: >=2.1.0 <3.0.0 → >=2.12.0 <3.0.0.

Flutter requirement changed in 4.0.0: >=1.12.13+hotfix.5 <2.0.0 → >=1.12.13+hotfix.4.

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

  • changed: class Location → class Location implements LocationPlatform
  • changed: method Location.changeSettings({ LocationAccuracy accuracy = …, int interval = …, double distanceFilter = …, }): Future<bool> → method Location.changeSettings({ LocationAccuracy? accuracy = …, int? interval = …, double? distanceFilter = …, }): Future<bool>
  • changed: method Location.enableBackgroundMode({bool enable}): Future<bool> → method Location.enableBackgroundMode({bool? enable = …}): Future<bool>
  • changed: static field Location.instance: final Location → static field Location.instance: Location
  • added: method Location.changeNotificationOptions({ String? channelName, String? title, String? iconName, String? subtitle, String? description, Color? color, bool? onTapBringToFront, }): Future<AndroidNotificationData?>