flutter_deck_web_client 0.1.2 flutter_deck_web_client: ^0.1.2 copied to clipboard
A Web client for the flutter_deck package that allows you to control the presentation from another browser tab or window.
flutter_deck_web_client #
A Web client for the flutter_deck package.
About #
This package implements the FlutterDeckClient interface for the Web platform.
It uses the localStorage API to store the state of the presentation and keep it in sync with the presenter view.
The main benefit of this client is that it doesn't require any server-side code to run and works out of the box on any Web browser. However, the main drawback is that it works only on Web platform.
Usage #
To use this package, add flutter_deck_web_client
as a dependency in your pubspec.yaml
file.
dependencies:
flutter_deck_web_client: any
Then, use the FlutterDeckWebClient
class when creating your FlutterDeckApp
presentation.
FlutterDeckApp(
client: FlutterDeckWebClient(), // Use the Web client
configuration: const FlutterDeckConfiguration(...),
slides: [
<...>
],
);