flutter_auto_gui

A flutter plugin for desktop applications for controlling mouse and keyboard to automate interactions with other applications. This plugin is highly inspired by the PyAutoGui python package and RobotJs and as such tries to mimic most of the available methods.

Android iOS Linux macOS Windows
Support N/A N/A Future Dev Future Dev Windows 10+

Usage

To use this plugin add flutter_auto_gui as a dependency in your pubspec.yaml file.

dependencies:
    flutter_auto_gui: <version>

Import the package

import 'package:flutter_auto_gui/flutter_auto_gui.dart';

All functions are static and can be used like the following

// mouse move function
 await FlutterAutoGUI.moveTo(
    point: const Point(10, 10),
    duration: const Duration(seconds: 1),
);

Check out the example project for further assistance.

A comprehensive documentation can be found here


Contributions

I'm currently working on getting the screen functions (1, 2) implemented.

If anyone would like to assist on the Mac OS / Linux implementation you can follow the flutter federated plugin design and I would be more than happy to endorse it.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.

If you fixed a bug or implemented a new feature, please send a pull request.

Buy Me A Coffee

Libraries

flutter_auto_gui