rx 0.4.0 rx: ^0.4.0 copied to clipboard
Reactive Extensions Library for Dart providing an API for asynchronous programming with observable streams.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add rx
With Flutter:
$ flutter pub add rx
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
rx: ^0.4.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rx/constructors.dart';
import 'package:rx/converters.dart';
import 'package:rx/core.dart';
import 'package:rx/disposables.dart';
import 'package:rx/events.dart';
import 'package:rx/observables.dart';
import 'package:rx/operators.dart';
import 'package:rx/schedulers.dart';
import 'package:rx/shared.dart';
import 'package:rx/store.dart';
import 'package:rx/subjects.dart';
import 'package:rx/testing.dart';