Last updated:
0 purchases
flutter deck client
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) { <...> }
}
copied to clipboard
Note on breaking changes #
Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.