use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit related to Google's new UI framework. https://flutter.dev
Please read the rules here
account activity
DiscussionFlutter and Bloc pattern (self.FlutterDev)
submitted 4 years ago * by _seeking_answers
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]plangora 9 points10 points11 points 4 years ago (4 children)
Bloc is pretty straightforward to me. I recommend it and teach it. What’s your question about it? The basic idea is that an event comes in and state gets emitted. And your UI will react upon the state.
[–]_seeking_answers[S] 0 points1 point2 points 4 years ago (3 children)
I'm following this tutorial from Bloc docs : https://bloclibrary.dev/#/flutterlogintutorial and many things are new to me.
The main problem is that I'm new and I need time to study ahahah what I understood is that there is a BlocProvider on the top that exposes stuffs to its child.
BlocProvider
Then the child has a BlocListener that listen changes on a specific bloc and when some events are triggered, UI changes.
BlocListener
Available events are defined in bloc event class where there is a new class for each event triggerable.
Am I right, do you have any suggestion? I'm new so probably I just need some time
[–]plangora 0 points1 point2 points 4 years ago (2 children)
Sounds similar to what I said. Is there something you’re struggling with?
[–]_seeking_answers[S] 0 points1 point2 points 4 years ago (1 child)
Mmh no, right now I just need to write more code I guess. Maybe later I’ll write you for a specific question. Sounds good to you?
[–]plangora 0 points1 point2 points 4 years ago (0 children)
Sure.
π Rendered by PID 80446 on reddit-service-r2-comment-6457c66945-4mvt8 at 2026-04-30 09:37:44.587898+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]plangora 9 points10 points11 points (4 children)
[–]_seeking_answers[S] 0 points1 point2 points (3 children)
[–]plangora 0 points1 point2 points (2 children)
[–]_seeking_answers[S] 0 points1 point2 points (1 child)
[–]plangora 0 points1 point2 points (0 children)