dart_super 1.2.9-dev.1 copy "dart_super: ^1.2.9-dev.1" to clipboard
dart_super: ^1.2.9-dev.1 copied to clipboard

Reactive state management framework for scalable dart applications.

example/lib/main.dart

// ignore_for_file: avoid_print

import 'package:dart_super/dart_super.dart';

void main(List<String> args) {
  Super.activate();

  // Declare a state object
  final count = 0.rx;

  // The method used in the addListener method will be called
  // every time the state changes.
  count.addListener(() => print(count.state));

  // Increment the state
  count.state++; // prints '1'
}
4
likes
0
points
90
downloads

Publisher

verified publisherdrdejavu.ng

Weekly Downloads

Reactive state management framework for scalable dart applications.

Repository (GitHub)
View/report issues

Topics

#rx #state #reactive

License

unknown (license)

Dependencies

meta

More

Packages that depend on dart_super