widgets/locations/import_operations library
Import operations and dialogs for LocationsPage.
Copyright (C) 2025, Software Innovation Institute, ANU.
Licensed under the GNU General Public License, Version 3 (the "License").
License: https://opensource.org/license/gpl-3-0.
Functions
-
performImportFlow(
BuildContext context, Future< void> onSuccess()) → Future<bool> - Performs the full import flow.
-
showImportFailedDialog(
BuildContext context, List< String> errors) → Future<void> - Shows import failed dialog with errors.
-
showImportFailureSnackbar(
BuildContext context) → void - Shows import failure snackbar.
-
showImportingProgressDialog(
BuildContext context, ValueNotifier< String> progress) → void - Shows importing progress dialog.
-
showImportSuccessSnackbar(
BuildContext context, int count) → void - Shows import success snackbar.
-
showNoPlacesFoundSnackbar(
BuildContext context) → void - Shows no places found snackbar.
-
showNoPlacesToExportSnackbar(
BuildContext context) → void - Shows no places to export snackbar.