api_bloc 3.0.1 copy "api_bloc: ^3.0.1" to clipboard
api_bloc: ^3.0.1 copied to clipboard

Flutter widgets that simplify the BLoC pattern implementation for REST APIs within an MVC architecture, significantly reducing boilerplate code.

1.0.0 #

  • Create Library
  • Create Documentation
  • Add License
  • Create Sample

1.1.0 #

  • Add data assertion on FetchSuccessState, SubmitSuccessState, SubmitFailedState

1.2.0 #

  • Update Readme

1.3.0 #

  • Add list of arguments inside request function
  • Update Sample
  • Update Readme

1.4.0 #

  • Add Extension copyWith, onIdle, onLoading, onSuccess, onFailed, onError

1.5.0 #

  • Add extension of custom state onState

1.6.0 #

  • Dart format

1.7.0 #

  • Add API Bloc CLI
  • Change list of argument into map
  • Change submit to send
  • Change fetch to get
  • Update documentation

1.8.0 #

  • Update module.dart generator

1.9.0 #

  • Add toJSON and fromJSON to each of class
  • update Future request format

1.9.1 #

  • Add Autorun option in GetController

1.9.2 #

  • Add an example to integrate with sentry

1.9.3 #

  • Add requirement on SuccessState and FailedState

2.0.0 #

  • Add tests
  • Update syntax request to onRequest
  • Add onError function
  • Update generator
  • Refactor get to read and send to write

2.0.1 #

  • Update description

3.0.0 #

  • Breaking Changes:
    • Remove copyWith, onIdle, onLoading, onSuccess, onFailed, onError Extension
    • Change ApiBloc and split it to BlocConsumer, BlocBuilder and BlocListener
  • Add BlocController injection trough ApiBloc
  • Add ApiBlocException
  • Add Unit Test
  • Update Documentation
  • Update Example
  • Add Github Workflows
  • Add test and bloc template generation

3.0.1 #

  • Shortening the description
8
likes
160
pub points
29%
popularity
screenshot

Publisher

verified publisherinidia.app

Flutter widgets that simplify the BLoC pattern implementation for REST APIs within an MVC architecture, significantly reducing boilerplate code.

Homepage
Repository (GitHub)
View/report issues

Topics

#bloc #rest-api #mvc #api

Documentation

API reference

Funding

Consider supporting this project:

ko-fi.com

License

MIT (license)

Dependencies

args, equatable, flutter

More

Packages that depend on api_bloc