bloc_rest_api 0.4.0+1
bloc_rest_api: ^0.4.0+1 copied to clipboard

A generic bloc package to implement REST APIs easily in flutter.

0.4.0+1 #

  • chore: github action publish issue resolution

0.4.0 #

  • feat: added functionality to read local json
  • feat: added timeOut reference for request function to override global behaviour
  • fix: assertions being caught
  • fix: removed extra bracket from log
  • docs: added example for local read, log feature and timeOut
  • docs: added badges :)
  • docs: updated old examples
  • refactor: achieved 100% code coverage
  • refactor: added padentic linter
  • refactor: avoided dublication for hydrated cubit and extended the existing cubit instead
  • chore: removed unnecessary code and imports

0.3.2 #

  • feat: added option to enable log for a request function
  • feat: used copyWith to allow cubit to retain model data on error and loading states
  • feat: added format exception if unable to convert json to model
  • chore: removed request model since it's no longer being used

0.3.1 #

  • docs: spell corrections
  • refactor: added pedantic as linter for package

0.3.0 #

  • feat: use of copy with to retain model data on state change
  • chore: bumped flutter_bloc to flutter_bloc: ^6.1.3
  • chore: bumped meta to ^1.2.2
  • docs: added not for copywith change

0.2.0 #

  • Added a request function to handle Future requests

0.1.1 #

  • Unused import removed

0.1.0 #

  • Initial Release
pub points

A generic bloc package to implement REST APIs easily in flutter.

Repository (GitHub)
View/report issues


API reference




equatable, flutter, flutter_bloc, http, hydrated_bloc, meta


Packages that depend on bloc_rest_api