iconnect 0.6.4 copy "iconnect: ^0.6.4" to clipboard
iconnect: ^0.6.4 copied to clipboard

the simplest and fasted state management library.

0.6.4 ——2020.10.24 #

  1. retryHttp: fix bug,timeouts make a range error

0.6.3 ——2020.10.24 #

  1. retryHttp: add delays and timeouts in retry

0.6.2 ——2020.10.24 #

  1. retryHttp: add delays in retryHttp.

0.6.1 ——2020.10.24 #

  1. retry:remove retryIf,onRetry,delays,times argument
  2. retryHttp: add callHttp argument
  3. getHttp: now return String? instead of dynamic

0.6.0 _2020.10.23 #

  1. fix retryHttp, it work without await
  2. print error in getHttp and retry http

0.5.9 ——2020.10.20 #

  1. fix range error in retryHttp

0.5.8 _2020.10.20 #

  1. fix bug: when http have a string response,decode will throw exception.
  2. print retry attempt
  3. close request in finally clause.

0.5.7 _2020.10.16 #

  1. fix bug: timeouts range exception

0.5.6 _2022.10.10 #

  1. add retryHttp,timeouts send to httpClient
  2. add times arg to future fuction
  3. known issue: in rest test,first worked without crash,second not.

0.5.5 _2022.10.10 #

  1. change back to rethrow,not return future.error,futurebuilder can't work for it

0.5.4_2002.10.10 #

  1. fix bug: retry return future.error,not rethrow,so it will be caughted by future builder

0.5.3 _2022.10.10 #

  1. fix bug:runAsync worked with null checked error
  2. rename runAsync to retry
  3. add test for retry

0.5.2 _2022.10.9 #

  1. fix bug: late error in withAsync,_build should be inited

0.5.1 _2022.10.8 #

  1. add builder argument for WithAsync

0.5.0 _2022.10.7 #

  1. fix bug: check _store[T]!.others![key] in register,should throw when key is registed
  2. add a get store
  3. remove export Store
  4. 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
  5. add WithFuture widget
  6. add async initState for Provider
  7. add retry_async for timeout,wait and retry
  8. add for async initState, and use futureBuilder for it
  9. add example for initState,seconds now register here
  10. futureBuilder run only once so we can run initState only once

0.4.1 _2022.10.7 #

  1. export Store

0.4.0 _2022.10.3 #

  1. dispatch now used without action
  2. remove dipose function,try dipose if exist in model
  3. use _rebuild instead of setState
  4. remove mixin
  5. return future.error in model to future builder
  6. use Type as key in map,instead instance
  7. support multi instance,by string key

0.3.3 2021.11.10 #

  1. remove iconnect,use Builder widget instead
  2. fix bug in example,register should have an argument

0.3.2 -2021.9.7 #

  1. 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

0
likes
130
points
87
downloads

Publisher

unverified uploader

Weekly Downloads

the simplest and fasted state management library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on iconnect