flutter_deck_client 0.1.1 copy "flutter_deck_client: ^0.1.1" to clipboard
flutter_deck_client: ^0.1.1 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.

1
likes
160
pub points
35%
popularity

Publisher

verified publisherkazlauskas.dev

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