flutter_background 0.1.2+1 flutter_background: ^0.1.2+1 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());
}