rxs 2.0.1 copy "rxs: ^2.0.1" to clipboard
rxs: ^2.0.1 copied to clipboard

Another simple reactive state management library for Dart and Flutter applications.

example/README.md

import "package:rxs/hooks.dart";

void main() {
  final hours = state.be(00);
  final minutes = state.be(00);
  final seconds = state.be(00);

  final time = state.from(() => "[${hours()}:${minutes()}:${seconds()}]");

  final message = state.be("Application booted.");

  final logger = state.from(
    () => print("${time()} ${message()}"),
    onDereference: () => print("Console logger disabled"),
  );

  logger;
}
1
likes
150
points
4
downloads

Publisher

unverified uploader

Weekly Downloads

Another simple reactive state management library for Dart and Flutter applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

meta, rxdart

More

Packages that depend on rxs