flutter_keepscreenon 0.1.1 copy "flutter_keepscreenon: ^0.1.1" to clipboard
flutter_keepscreenon: ^0.1.1 copied to clipboard

discontinued

A package can help you to keep the device's screen on programmatically without any permission.

flutter_keepscreenon #

pub package

A package can help you to keep the device's screen on programmatically without any permission.

Getting Started #

Installation #

Add this to your pubspec.yaml (or create it):

dependencies:
  flutter_keepscreenon: any

Then run the flutter tooling:

flutter packages get

Example #

try {
  await FlutterKeepscreenon.keepScreenOn(true);
} on PlatformException catch (e) {
  print(e);
}

Details in example/ folder.

0
likes
40
pub points
8%
popularity

Publisher

unverified uploader

A package can help you to keep the device's screen on programmatically without any permission.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_keepscreenon