flutter_background 1.0.2 flutter_background: ^1.0.2 copied to clipboard
A plugin to keep flutter apps running in the background by using foreground service, wake lock and disabling battery optimizations
import 'package:flutter/material.dart';
import 'package:flutter_background_example/app.dart';
void main() {
runApp(BackgroundSocketsExampleApp());
}