Skip to content

songyiYu/flutter_keep_screen_on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

About

Flutter plugin for keeping screen on

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published