velocity_bloc
ब्लॉक के डार्ट जेनरिक्स से प्रेरित न्यूनतम और आसान अवस्था प्रबंधन।
Dart जेनेरिक्स से प्रेरित एक अनुपस्थित Bloc राज्य प्रबंधन प्लगइन।
^9.0.0^2.0.7{"sdk":"flutter"}^9.0.0{"sdk":"flutter"}^5.0.0यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री 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.