screen_keep_on 0.1.1
screen_keep_on: ^0.1.1 copied to clipboard

Flutter Android iOS

A Flutter plugin to keep screen on. AndroidX migrated.

flutter_screen_keep_on #

A Flutter plugin to keep screen on. AndroidX migrated.

Usage #

To use this plugin, add screen_keep_on as a dependency in your pubspec.yaml file.

Example #

// Import package
import 'package:screen_keep_on/screen_keep_on.dart';

// Set Keep Screen On
ScreenKeepOn.turnOn(on);

// Get IsOn
bool _isOn = await ScreenKeepOn.isOn;

2
likes
80
pub points
64%
popularity

A Flutter plugin to keep screen on. AndroidX migrated.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

songyi0207@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on screen_keep_on