melos
bloc
Our great sponsors
melos | bloc | |
---|---|---|
6 | 56 | |
1,020 | 11,368 | |
4.2% | - | |
8.5 | 9.2 | |
7 days ago | 7 days ago | |
Dart | Dart | |
Apache License 2.0 | 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.
melos
-
One repo with multiple apps and modules VS multiple repos
There are definitely pros and cons to both approaches and may honestly just come down to personal preference at the end of the day. If you want to go the monorepo route, I highly recommend using melos to help manage: https://melos.invertase.dev/
-
Start the monorepo flutter project
Install melos (more details about melos: https://melos.invertase.dev/)
-
How to manage your Flutter monorepos
You could write your own bash script or CLI to help manage these tasks. However, this costs you some time. In order to deal with these tasks more quickly, you can use community tools, like Melos, Very Good CLI, or Sidekick. In this article, we are going to use Melos. Melos is also used by repositories like FlutterFire, AWS Amplify (Flutter), Flame, and Plus Plugins.
-
Are you using monorepos?
Melos has been super useful for us in being able to write shortcuts to run all our unit tests and dart analyze for a combination of packages - to ensure that whenever we update a package which is shared between the mobile app and web app.
-
Single vs. Multi-Package Projects for Larger Codebases w/ Multiple Teams
Are there any tools you recommend? Melos, for example.
- Melos - a tool for managing multi-package projects (a.k.a a monorepo), with optional support for automated package versioning, changelogs & publishing via Conventional Commits.
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
What are some alternatives?
imperative-flutter - Manage the state of your widgets using imperative programming concepts.
riverpod - A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
flutter-go - flutter 开发者帮助 APP,包含 flutter 常用 140+ 组件的demo 演示与中文文档
mobx.dart - MobX for the Dart language. Hassle-free, reactive state-management for your Dart and Flutter apps.
flutterfire - 🔥 A collection of Firebase plugins for Flutter apps.
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
dart_frog - A fast, minimalistic backend framework for Dart 🎯
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.
dart_nn - A simple Neural Network library written in dart
zustand - 🐻 Bear necessities for state management in React
quick_notify - A cross-platform (Android/iOS/Web/Windows/macOS/Linux) notification plugin for Flutter
rxdart - The Reactive Extensions for Dart