velocity_bloc
Minimalistische und einfache Zustandsverwaltung für Bloc, inspiriert von Dart-Generic.
Ein fehlendes Bloc-Zustandsverwaltungs-Plugin, das von Dart-Generic ist inspiriert.
^9.0.0^2.0.7{"sdk":"flutter"}^9.0.0{"sdk":"flutter"}^5.0.0Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
codersangam - velocity_bloc stars - velocity_bloc forks - velocity_bloc GitHub release License issues - velocity_bloc
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';
.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.
Released under MIT by @codersangam.