flu_wake_lock 0.0.2
flu_wake_lock: ^0.0.2 copied to clipboard
Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android and iOS.
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'app/core/bindings/application_bindings.dart';
import 'app/routes/app_pages.dart';
void main() {
runApp(
GetMaterialApp(
debugShowCheckedModeBanner: false,
title: 'Your App Title',
initialBinding: ApplicationBindings(),
initialRoute: AppPages.INITIAL,
getPages: AppPages.routes,
),
);
}