allinone library
Classes
- AllInOneBackground
- Background location tracker that works even when the screen is off.
- AllInOneConfig
- Master configuration for the AllInOne package.
- AllInOneLocation
- Unified location model that wraps geolocator Position. Provides a clean API regardless of whether the location came from foreground or background.
- AllInOneLocationService
- High-accuracy location engine.
- AllInOnePermission
- Unified permission manager for all app permissions.
- BackgroundConfig
- Configuration for background location tracking service.
- FlutterBackgroundService
- Permission
- Defines the permissions which can be checked and requested.
- Position
- Contains detailed location information.
- ServiceInstance
Enums
- LocationAccuracy
- Represent the possible location accuracy values.
- LocationPermission
- Represent the possible location permissions.
- PermissionStatus
- Defines the state of a Permission.
Extensions
- PermissionStatusGetters on PermissionStatus
- Utility getter extensions for the PermissionStatus type.
Typedefs
-
OnHeartbeat
= Future<
void> Function() - Callback type for heartbeat events in the background.
-
OnLocationUpdate
= Future<
void> Function(AllInOneLocation location) - Callback type for location updates in the background.
- OnShowNotification = void Function(String? userId, String content)
- Callback type for notification display in the background.