widgets/settings/settings_sections library

Settings sections for map settings dialog.

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

buildMapSourceSection({required MapSource mapSource, required void onMapSourceChanged(MapSource)}) Widget
Builds the map source selection section.
buildMarkerColorsSection({required BuildContext context, required Color userPlacesColor, required Color localPlacesColor, required void onUserColorChanged(Color), required void onLocalColorChanged(Color)}) Widget
Builds the marker colors section.
buildViewportSection({required bool rememberViewport, required double initialLat, required double initialLng, required double initialZoom, required void onRememberViewportChanged(bool), required void onViewportChanged(double lat, double lng, double zoom)}) Widget
Builds the viewport section of settings.
buildVisibilitySection({required bool showLocalPlaces, required bool showEncryptedPlaces, required bool hideAllMarkers, required bool isLoadingEncrypted, required bool isLoggedIn, required void onShowLocalChanged(bool), required dynamic onShowEncryptedChanged(bool), required void onHideAllMarkersChanged(bool)}) Widget
Builds the visibility section of settings.
showColorPickerDialog({required BuildContext context, required String title, required Color currentColor, required void onColorChanged(Color)}) Future<void>
Shows color picker dialog for selecting a color.