obsobject 1.2.1 copy "obsobject: ^1.2.1" to clipboard
obsobject: ^1.2.1 copied to clipboard

outdated

An observable/computed object can notify value changed to observers that listen on it Built-in validation with support for localize and extends.

CHANGE LOG #

1.2.1 #

Fix bug validate observable value

1.2.0 #

Fix bug nested computed
Remove CancelableThen and use Timer object
Rewrite observable validation thus it can depend on other observable, remove isValid and changed to computed objects valid, error. We also can setError to mark observable invalid. When object changed valid, error status, then it also call notify change
Remove validation async since it require setup UI while validating depend on development context

1.1.1 #

Improve performance rebuild Computed by use one Future instead create many CancelableThen

1.1.0 #

Update to support null safety

1.0.6 #

Add base class ObservableWritable used mixin for Observable, Commission Add property hasValidator used to check has validate value Fix bug notify in Computed Export CancelableThen Check hasListener before execute callbacks

1.0.5 #

Do not recompute Computed has isValid but there are no listener

1.0.4 #

Add function toString

1.0.3 #

Support listener function with parameters
Reuse CancelableThen in ObservableValidator
Spell check

1.0.2 #

Update follow dart analyze Add example widget in Flutter

1.0.1 #

Update follow publish suggestions

1.0.0 #

First release

5
likes
0
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

An observable/computed object can notify value changed to observers that listen on it Built-in validation with support for localize and extends.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on obsobject