bloc
flutter_fortune_wheel
Our great sponsors
bloc | flutter_fortune_wheel | |
---|---|---|
56 | 2 | |
11,368 | 96 | |
- | - | |
9.2 | 6.9 | |
6 days ago | 2 months ago | |
Dart | Dart | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bloc
-
Comprehensive set of Flutter resources:
BLoC Library - Learn how to use the BLoC pattern for state management
-
Why shouldn't blocs reference other blocs?
[Copied from https://github.com/felangel/bloc/issues/4002]
-
BloC infinite scrolling example returns duplicates?
I've recently ported my project to BloC and I used the BloC infinite scrolling example as a blue print for fetching data from my FireStore repository.
-
[Research] Your Flutter Stack
Architecture: Repository pattern as described on bloclibrary.dev
-
Surrounded by flutter state managements
Vs Code has this extension, that can generate all boilerplate code that you need, and everything about bloc has been documented right here. Take a day or two, to familiarize yourself with the examples.
-
I'm very proud to announce the first developer preview of solidart 1.0.0 ✨. Check the CHANGELOG. The developer experience improved a lot 🚀
Looks solid, congrats! This is probably a huge ask but, flutter_bloc has this repository of examples covering almost every imaginable use case. Would be really great to have something similar. Check it out > https://github.com/felangel/bloc/tree/master/examples
-
🎉 Introducing MODDDELS: A Powerful Package for Robust, Self-Validated Models in Flutter & Dart
From this issue on the bloc package :
-
What are your thoughts on RxDart and Reactive Programming in flutter in general ?
Check out https://bloclibrary.dev I think they do decoupling the best
-
Self learners, which materials did you use to learn Dart language?
https://bloclibrary.dev taught me a bunch
- Flutter mentor
flutter_fortune_wheel
-
How to build advanced layouts in Flutter
We want to position the child widget on the line, which cuts a given slice in half. To achieve that, we start of with a vector that points to the center of the top edge of our bounding box starting from its top left. This ensures that the vector's length is half the circle's radius. To actually point to the center of our slice, we need to rotate this vector by half the slice's angle, which gives us the blue vector in above illustration.. If you are interested in how the rotateVector works, you can find its implementation in this package's Github repository. With the slice's center at hand, the child's offset can be retrieved by adjusting the center to the child's size. If you believe there is a simpler way to achieve the same result, I encourage you to send me a message or comment with your ideas about this problem; I am always glad to learn of new features and tricks.
-
Making-of: Flutter Fortune Wheel
Great! We are now able to draw a circle composed of any number of individually customizable slices. In my next article we will implement a MultiChildLayoutDelegate to correctly position child widgets within the slices. In the meantime, if you don't want to wait for the next article, you can find the package's code on Github.
What are some alternatives?
riverpod - A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
flutter-fortune-wheel - Flutter Fortune Wheel
mobx.dart - MobX for the Dart language. Hassle-free, reactive state-management for your Dart and Flutter apps.
awesome-flutter - An awesome list that curates the best Flutter libraries, tools, tutorials, articles and more.
get_it - Get It - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App. Maintainer: @escamoteur
flutter_architecture_samples - TodoMVC for Flutter
cubit - Cubit is a lightweight state management solution. It is a subset of the bloc package that does not rely on events and instead uses methods to emit new states.
flutter-go - flutter 开发者帮助 APP,包含 flutter 常用 140+ 组件的demo 演示与中文文档
zustand - 🐻 Bear necessities for state management in React
rxdart - The Reactive Extensions for Dart
MobX - Simple, scalable state management.
routemaster - Easy-to-use Navigator 2.0 router for web, mobile and desktop. URL-based routing, simple navigation of tabs and nested routes.