dart_publisher

Creator: coderz1093

Last updated:

0 purchases

dart_publisher Image
dart_publisher Images

Languages

Categories

Add to Cart

Description:

dart publisher

dart_publisher #
This package aims to reproduce Swift's @Published functionality.
This package was developed by a Japanese information science students. So please understand that the English in this document may be poor!
(Please point out any oddities. It's good study of English!)
What this package can do #

Detecting changes in the value of a variable.

Example #
source
void main(List<String> arguments) {
Publisher<int> a = Publisher<int>(1);

a.sink((newValue) {
print(newValue);
});

a.value = 2;

print("----");

a.value = 3;
}
copied to clipboard
output
2
----
3

copied to clipboard

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.