Flutter-Project-Template
bloc
Flutter-Project-Template | bloc | |
---|---|---|
3 | 56 | |
4 | 11,407 | |
- | - | |
0.0 | 9.2 | |
about 1 year ago | 5 days 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.
Flutter-Project-Template
-
Flutter BLoC: Which approach would you suggest?
With a generic state class, you can implement the null check code within the class to help clean up your business logic. I have written a generic state class for my repositories/business logic that covers Initial/Empty, Loading, Successful, and Error cases. You're welcome to take it if it helps you: https://github.com/rmayobre/Flutter-Project-Template/blob/main/packages/framework/lib/src/repositories/repo_state.dart
- [Research] Your Flutter Stack
-
Responsive Text Size
Create two text themes. One for web, one for mobile. Then check which platform you're on. Depending on the platform, put the text theme inside your theme data. You can use this as a template: https://github.com/rmayobre/Flutter-Project-Template/blob/main/packages/theme/lib/src/text_theme.dart
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?
mobileUI-valorant_agents_app - A UI centric, wiki app about valorant agents made with Flutter SDK
riverpod - A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
hydro-sdk - Author Flutter experiences in Typescript. No native bridge, no V8. Just Dart. From runtime to virtual machine.
mobx.dart - MobX for the Dart language. Hassle-free, reactive state-management for your Dart and Flutter apps.
library_management_system - A library management app made with Flutter framework
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
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.
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.
flutter-quill - Rich text editor for Flutter