observable_ish 1.2.2
observable_ish: ^1.2.2 copied to clipboard

outdatedDart 2 incompatible

Write elegant reactive cross-platform client side application using observable states and event emitters.

example/example.dart

import 'package:observable_ish/observable_ish.dart';

main() {
  final rxInts = RxValue<int>(initial: 5);
  print(rxInts.value);  // => 5
  rxInts.value = 10;
  rxInts.value = 15;
  rxInts.values.listen((int v) => print(v));  // => 20, 25
  rxInts.value = 20;
  rxInts.value = 25;
}
48
likes
0
pub points
93%
popularity

Write elegant reactive cross-platform client side application using observable states and event emitters.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection

More

Packages that depend on observable_ish