Flutter Synergy Client: A flutter client implementation for synergy servers like Synergy, Barrier, InputLeap
Disable SSL in server ( Encryption not supported yet )
Wrap your app in SynergyClientFlutter, That's it, a floating button will appear in app tap on it to enter details and connect to Synergy
void main() async {
WidgetsFlutterBinding.ensureInitialized();
runApp(
const SynergyClientFlutter(
enabled: true,
child: MaterialApp(
....
),
),
);
}
Create a class extending ScreenInterface
class BasicScreen extends ScreenInterface {
// Implement all methods
}
Connect with synergy using this screen interface
var screen = BasicScreen();
await SynergyClientDart.connect(
screen: screen,
serverIp: serverIp,
serverPort: serverPort,
clientName: clientName,
);
To Disconnect
SynergyClientDart.disconnect();
Checkout complete documentation
Inspired from synergy-android
This project is in initial stage, Api's might change