fast_rx_jaspr

Last updated:

0 purchases

fast_rx_jaspr Image
fast_rx_jaspr Images
Add to Cart

Description:

fast rx jaspr

Reactive Jaspr components and convenience components for fast_rx






Features #



Class
Use-case




FastBuilder
Rebuilds when reactive values within change



Usage #

import 'package:fast_rx_jaspr/fast_rx_jaspr.dart';
import 'package:jaspr/jaspr.dart';

void example() {
// ...

final count = 0.rx;

// ...

count.stream.listen(print);

// ...

FastBuilder(() => [Text('$count')]);
FastBuilder(
() => [Text('$count')],
condition: () => true,
);

// ...

// Will print the value and trigger a rebuild of FastBuilders
count.value = 1;

final list = <int>[].rx;
// Will only notify after the run block completes
list.run(() {
list.add(1);
list.add(2);
});
}

copied to clipboard
See fast_rx for more documentation
Additional information #
See fast_ui_jaspr for more information

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.