Skip to content
Performance tools for Flutter.
Dart CSS Shell JavaScript HTML Objective-C
Branch: master
Clone or download
natebosch Drop dependency on RxDart (#927)
Towards #926

The only usage was `BehaviorSubject` which can be replaced with `ValueNotifier` and some small tweaks.

- Copy `ValueNotifier` and related code from flutter into `fake_flutter`. There are some small differences from upstream:
  - Remove `Listenable.merge`.
  - Change the `_listeners` field to a plain List.
  - Change the exception handler to call `debugPrint`.
- Change the interface from exposing `Stream` to exposing `ValueListenable`. Merge the value and change fields into a single listenable getter and move the `.value` to call sites.
- Update the `.listen` calls to use `.addListener` and always eagerly act as if it had changed. Leave some TODO to explore whether this is necessary.
- Replace a `concat` operation with a manual `ValueNotifier` that updates itself using a boolean expression combination of two other values to match the intention of the field.
Latest commit a61dc9e Aug 16, 2019

README.md

Dart DevTools (preview)

Build Status

What is this?

Dart DevTools is a suite of performance tools for Dart and Flutter. It’s currently in preview release, but we’re actively working on improvements and on shipping new versions.

Getting started

For documentation on installing and trying out DevTools, please see our docs.

Contributing and development

Contributions welcome! See our contributing page for an overview of how to build and contribute to the project.

Terms and Privacy

By using Dart DevTools, you agree to the Google Terms of Service.

You can’t perform that action at this time.