From 77910fb4e999f4afa0bf0f46f544c2657314b3b2 Mon Sep 17 00:00:00 2001 From: Ernest Ezis Date: Mon, 7 Apr 2025 13:50:18 -0600 Subject: [PATCH] Update geolocator.md --include-packages was deprecated in the 0.26.0 release. the --permissions argument took its place. --- docs/controls/geolocator.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/controls/geolocator.md b/docs/controls/geolocator.md index be28a67b..d781cb70 100644 --- a/docs/controls/geolocator.md +++ b/docs/controls/geolocator.md @@ -9,10 +9,10 @@ Based on the [geolocator](https://pub.dev/packages/geolocator) Dart/Flutter pack Geolocator control is non-visual and should be added to `page.overlay` list. :::info Packaging -To build your Flet app that uses `Geolocator` control add `--include-packages flet_geolocator` to `flet build` command, for example: +To build your Flet app that uses `Geolocator` control add `--permissions location` to `flet build` command, for example: ``` -flet build apk --include-packages flet_geolocator +flet build apk --permissions location ``` ::: @@ -205,4 +205,4 @@ Fires when an error occurs. Fires when the position of the device changes. -Event handler argument is of type [`GeolocatorPositionChangeEvent`](/docs/reference/types/geolocatorpositionchangeevent). \ No newline at end of file +Event handler argument is of type [`GeolocatorPositionChangeEvent`](/docs/reference/types/geolocatorpositionchangeevent).