fast_rx_flutter 0.1.1 icon indicating copy to clipboard operation
fast_rx_flutter: ^0.1.1 copied to clipboard

Reactive Flutter widgets and convenience components for fast_rx

Reactive Flutter widgets and convenience components for fast_rx

pub package codecov checks popularity likes pub points

Features #

ClassUse-case
FastBuilderRebuilds when reactive values within change

Usage #

import 'package:fast_rx_flutter/fast_rx_flutter.dart';
import 'package:flutter/material.dart';

void example() {
  // ...

  final count = 0.rx;

  // ...

  // ignore: avoid_print
  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);
  });
}

See fast_rx for more documentation

Additional information #

See fast_ui for more information

0
likes
140
pub points
29%
popularity

Publisher

verified publisher iconrexios.dev

Reactive Flutter widgets and convenience components for fast_rx

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

fast_rx, flutter

More

Packages that depend on fast_rx_flutter