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.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_keepscreenon

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_keepscreenon: ^0.1.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_keepscreenon/flutter_keepscreenon.dart';
0
likes
40
pub points
9%
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