flutter_deck_ws_client 0.1.1 copy "flutter_deck_ws_client: ^0.1.1" to clipboard
flutter_deck_ws_client: ^0.1.1 copied to clipboard

A WebSocket client for the flutter_deck package that allows you to control the presentation remotely.

flutter_deck_ws_client #

A WebSocket client for the flutter_deck package.

About #

This package implements the FlutterDeckClient interface using web_socket_client.

It uses WebSockets to keep the state of the presentation in sync with the presenter view.

The main benefit of this client is that it works on any platform that supports WebSockets. However, the main drawback is that it requires a WebSocket server to run.

Usage #

To use this package, add flutter_deck_ws_client as a dependency in your pubspec.yaml file.

dependencies:
  flutter_deck_ws_client: any

Then, use the FlutterDeckWsClient class when creating your FlutterDeckApp presentation.

FlutterDeckApp(
  client: FlutterDeckWsClient(uri: Uri.parse('ws://localhost:8080')), // Use the WebSocket client
  configuration: const FlutterDeckConfiguration(...),
  slides: [
    <...>
  ],
);
0
likes
140
pub points
20%
popularity

Publisher

verified publisherkazlauskas.dev

A WebSocket client for the flutter_deck package that allows you to control the presentation remotely.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutterdeck #presentation #slides

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (LICENSE)

Dependencies

flutter_deck_client, web_socket_client

More

Packages that depend on flutter_deck_ws_client