flutter_deck_client 0.1.2 copy "flutter_deck_client: ^0.1.2" to clipboard
flutter_deck_client: ^0.1.2 copied to clipboard

A common client interface and models for the flutter_deck package.

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.

2
likes
160
points
293
downloads

Publisher

verified publisherkazlauskas.dev

Weekly Downloads

A common client interface and models for the flutter_deck package.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutterdeck #presentation #slides

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

meta

More

Packages that depend on flutter_deck_client