Search packages, repositories and app categories

Package detailsv5.0.2

screen_state

A plugin for reporting screen events while the flutter application is running in background. Works for Android and iOS only.

AndroidiOS
30-day downloads
5.9K
Likes
40
Pub points
160

Install package

flutter pub add screen_state

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The screen_state package enables Flutter applications to monitor and report screen events—such as screen on/off—while running in the background on Android and iOS devices. It provides a reliable way to track device screen state changes, useful for debugging, analytics, or implementing behavior based on user interaction patterns. The plugin integrates seamlessly with existing Flutter projects and is designed for lightweight, efficient operation without impacting performance. It supports both major mobile platforms and is maintained by Cachet.dk.

Use cases

  • Monitoring app usage patterns
  • Debugging background behavior
  • Tracking screen on/off cycles
  • Implementing screen-aware features
  • Analyzing user engagement

Key features

  • Background screen event detection
  • Android and iOS support
  • Lightweight and efficient
  • Simple API integration
  • Real-time event reporting

Suitable for

  • Debugging apps with background logic
  • Developers tracking user activity
  • Apps requiring screen state awareness
  • Analytics and monitoring tools
  • Mobile app performance optimization

Considerations

  • Requires background execution permissions
  • Limited to Android and iOS
  • May impact battery life if overused
  • Not available for web or desktop
  • Depends on platform-specific system access

Categories

Projects using this package

No data available yet.