FLUTTER ECOSYSTEM

flutter_screen_wake

A Flutter plugin to manage the device's screen on Android and iOS.

Latest version
1.0.2
30-day downloads
811
Likes
32
Pub points
140

Package Overview

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

Overview

A Flutter plugin that enables control over the device's screen state on both Android and iOS, allowing developers to keep the screen awake or dim it as needed. It provides a simple API to manage screen wake locks, useful for applications requiring uninterrupted display, such as video players, navigation apps, or kiosk modes. The plugin works across platforms with consistent behavior and integrates smoothly into existing Flutter projects.

Use cases
  • Keeping screen on during video playback
  • Enabling kiosk mode in public displays
  • Preventing screen timeout in navigation apps
  • Maintaining visibility in AR/VR applications
  • Supporting long-running task interfaces
Key features
  • Cross-platform support (Android & iOS)
  • Simple API for screen wake management
  • Automatic release of wake locks
  • Minimal performance overhead
  • Compatible with Flutter's async model
Suitable for
  • Media playback apps
  • Interactive kiosks
  • Navigation and mapping tools
  • AR/VR experiences
  • Long-duration task interfaces
Considerations
  • May impact battery life
  • Requires appropriate permissions on Android
  • iOS has limited background capabilities
  • Should be used sparingly to avoid user frustration
  • Must release wake locks to prevent drain
Supported platformsAndroidiOS

Install package

flutter pub add flutter_screen_wake

Categories

Source repository

Related projects