GitHunt
CO

codersangam/velocity_bloc

A Missing Bloc State Management Plugin Inspired from Dart Generics.

Velocity Bloc

codersangam - velocity_bloc
stars - velocity_bloc
forks - velocity_bloc
GitHub release
License
issues - velocity_bloc

Getting started

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  velocity_bloc: <latest_version>

In your library add the following import:

import 'package:velocity_bloc/velocity_bloc.dart';

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

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

Languages

Dart38.4%C++27.3%CMake24.4%Ruby3.5%HTML2.4%Swift1.9%C1.9%Kotlin0.2%Objective-C0.0%

Contributors

MIT License
Created November 14, 2022
Updated March 21, 2025
codersangam/velocity_bloc | GitHunt