velocity_bloc

Creator: coderz1093

Last updated:

Add to Cart

Description:

velocity bloc

Velocity Bloc #






Getting started #
In the pubspec.yaml of your flutter project, add the following dependency:
dependencies:
...
velocity_bloc: <latest_version>
copied to clipboard
In your library add the following import:
import 'package:velocity_bloc/velocity_bloc.dart';
copied to clipboard
Summary #
.onUpdateData(dynamic data) - updates the bloc with new data on states.
.onFailedResponse(String error) - holds the failed responses/exceptions as String.
VelocityInitialState - Initial state of the bloc.
VelocityUpdateState - Loaded/Updated state of the bloc.
VelocityFailedState - Failed/Error state of the bloc.

For help getting started with Flutter, view the online documentation.

License #
Released under MIT by @codersangam.
Contribution #

Fork it (https://github.com/codersangam/velocity_bloc/fork)
Create your feature branch (git checkout -b feature/fooBar)
Commit your changes (git commit -am 'Add some fooBar')
Push to the branch (git push origin feature/fooBar)
Create a new Pull Request

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.