flutter_deck_client

A common client interface and models for the flutter_deck package.

Usage

To implement a new client for flutter_deck, implement FlutterDeckClient interface with your own logic:

class MyFlutterDeckClient implements FlutterDeckClient {
  const MyFlutterDeckClient();

  @override
  Stream<FlutterDeckState> get flutterDeckStateStream { <...> }

  @override
  void init([FlutterDeckState? state]) { <...> }

  @override
  void dispose() { <...> }

  @override
  void updateState(FlutterDeckState state) { <...> }
}

Note on breaking changes

Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.

Libraries

flutter_deck_client
A common client interface and models for the flutter_deck package.