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

A WebSocket client for the flutter_deck package.

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: [
    <...>
  ],
);
1
likes
0
pub points
0%
popularity

Publisher

verified publisherkazlauskas.dev

A WebSocket client for the flutter_deck package.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutterdeck #presentation #slides

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

flutter_deck_client, web_socket_client

More

Packages that depend on flutter_deck_ws_client