flutter_system_events library
Listens to selected system-level events from Flutter apps.
Classes
- BatteryConfig
- Configuration for battery state events.
- BatteryEvent
- Event emitted when battery state changes.
- KeyboardConfig
- Configuration for keyboard visibility events.
- KeyboardEvent
- Event emitted when keyboard visibility changes.
- LifecycleConfig
- Configuration for app lifecycle events.
- LifecycleEvent
- Event emitted when the app lifecycle changes.
- MemoryConfig
- Configuration for memory warning events.
- MemoryEvent
- Event emitted when memory pressure changes.
- NetworkConfig
- Configuration for network connectivity events.
- NetworkEvent
- Event emitted when network connectivity changes.
- OrientationConfig
- Configuration for screen orientation events.
- OrientationEvent
- Event emitted when the screen orientation changes.
- ScreenConfig
- Configuration for screen state and brightness events.
- ScreenEvent
- Event emitted when the screen state or brightness changes.
- SystemEvent
- Base type for every event emitted by SystemEvents.events.
- SystemEvents
- Entry point for configuring and receiving system events.
- SystemEventsConfig
- Selects which native event listeners are enabled.
- TimeConfig
- Configuration for system time change events.
- TimeEvent
- Event emitted when system time, date, or timezone changes.
- UnknownSystemEvent
- Event emitted when a platform payload cannot be decoded.
Enums
- BatteryState
- Battery states reported by the platform.
- LifecycleState
- App lifecycle states reported by the platform.
- MemoryState
- Memory pressure states reported by the platform.
- NetworkType
- Network connection types reported by the platform.
- ScreenChange
- Screen state changes reported by the platform.
- ScreenOrientation
- Screen orientations reported by the platform.
- SystemEventType
- Event groups that can be enabled or disabled at runtime.
- TimeChangeReason
- Reasons why a system time event was emitted.