iconnect 0.6.4
iconnect: ^0.6.4 copied to clipboard
the simplest and fasted state management library.
0.6.4 ——2020.10.24 #
- retryHttp: fix bug,timeouts make a range error
0.6.3 ——2020.10.24 #
- retryHttp: add delays and timeouts in retry
0.6.2 ——2020.10.24 #
- retryHttp: add delays in retryHttp.
0.6.1 ——2020.10.24 #
- retry:remove retryIf,onRetry,delays,times argument
- retryHttp: add callHttp argument
- getHttp: now return String? instead of dynamic
0.6.0 _2020.10.23 #
- fix retryHttp, it work without await
- print error in getHttp and retry http
0.5.9 ——2020.10.20 #
- fix range error in retryHttp
0.5.8 _2020.10.20 #
- fix bug: when http have a string response,decode will throw exception.
- print retry attempt
- close request in finally clause.
0.5.7 _2020.10.16 #
- fix bug: timeouts range exception
0.5.6 _2022.10.10 #
- add retryHttp,timeouts send to httpClient
- add times arg to future fuction
- known issue: in rest test,first worked without crash,second not.
0.5.5 _2022.10.10 #
- change back to rethrow,not return future.error,futurebuilder can't work for it
0.5.4_2002.10.10 #
- fix bug: retry return future.error,not rethrow,so it will be caughted by future builder
0.5.3 _2022.10.10 #
- fix bug:runAsync worked with null checked error
- rename runAsync to retry
- add test for retry
0.5.2 _2022.10.9 #
- fix bug: late error in withAsync,_build should be inited
0.5.1 _2022.10.8 #
- add builder argument for WithAsync
0.5.0 _2022.10.7 #
- fix bug: check _store[T]!.others![key] in register,should throw when key is registed
- add a get store
- remove export Store
- if there is a initState function in model,it will be worked in register,this usually used for auto load,so it could be a future
- add WithFuture widget
- add async initState for Provider
- add retry_async for timeout,wait and retry
- add for async initState, and use futureBuilder for it
- add example for initState,seconds now register here
- futureBuilder run only once so we can run initState only once
0.4.1 _2022.10.7 #
- export Store
0.4.0 _2022.10.3 #
- dispatch now used without action
- remove dipose function,try dipose if exist in model
- use _rebuild instead of setState
- remove mixin
- return future.error in model to future builder
- use Type as key in map,instead instance
- support multi instance,by string key
0.3.3 2021.11.10 #
- remove iconnect,use Builder widget instead
- fix bug in example,register should have an argument
0.3.2 -2021.9.7 #
- some changes in readme.md
0.3.0 -2021.9.7 #
. use mixin instead with function,now we only have connect,provider and IConnect mixin . now could simple use register in model itself
0.2.0 2021.6.24 #
. upgrade flutter . change dynamic? to dynamic
0.1.0-dev.1 2021.1.25 #
. register model . unregester model with dispose argument . use a model will not rerender widget,only when you listen to is,for example,in counter example,ShowAddButton widget will never rerender,it just use the increment function in Counter model. . share model in multi widgets . support multi models with same type . dispatch to widget that listen to model . listen to a model,widget will rerender after dispatch from that model . could work with futuer and handle exception . could work with stream