widgets/locations/place_operations library
Place operations handlers for LocationsPage.
Copyright (C) 2025-2026, Software Innovation Institute, ANU.
Licensed under the GNU General Public License, Version 3 (the "License").
License: https://opensource.org/license/gpl-3-0.
Functions
-
clearAllPlacesWithFeedback(
BuildContext context, int count) → Future< bool> - Clears all places and shows appropriate snackbars.
-
deletePlaceWithFeedback(
BuildContext context, Place place) → Future< bool> - Deletes a place and shows appropriate snackbars.
-
showClearAllConfirmation(
BuildContext context, int count) → Future< bool> - Shows clear all confirmation dialog.
-
showDeletePlaceConfirmation(
BuildContext context, Place place) → Future< bool> - Shows delete confirmation dialog.
-
showExportResultSnackbar(
BuildContext context, bool success, int count) → void - Shows export success/failure snackbar.
-
showUpdateFailureSnackbar(
BuildContext context) → void - Shows update failure snackbar.
-
showUpdateSuccessSnackbar(
BuildContext context) → void - Shows update success snackbar.
-
showUpdatingPlaceSnackbar(
BuildContext context, bool coordsChanged) → void - Shows updating place snackbar.