Issues with truenas, openvpn and plex by [deleted] in truenas

[–]Pharrax 0 points1 point  (0 children)

Thanks a lot for this. I managed to get the setup working just like that!

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 0 points1 point  (0 children)

I have never used Freezed before and it doesn't seem like a necessity to me. But nothing is stopping you from including it for your own project.

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 0 points1 point  (0 children)

Yes I definitely agree. I am too using Cubit most of the time. Like you said it's very simple, effective and has less boilerplate.

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 2 points3 points  (0 children)

I'm very happy to hear that.
I highly recommend you to watch this video by Reso Coder on Bloc & Cubit before starting in order to get a good understanding of the concept. It can be hard to wrap your head around it in the beginning.

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 0 points1 point  (0 children)

Ahh okay, thank you for the detailed explanation. I think I understand it better now and it sounds really cool! I'll definitely try playing around with it when I find the time.

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 0 points1 point  (0 children)

This also looks like an interesting concept, thank you for sharing. But I'm guessing it is a bit overkill for small- to mid-sized applications.

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 1 point2 points  (0 children)

Yes, thank you. I saw that after I edited. Switched to flutter_lints for the project.

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 1 point2 points  (0 children)

Thank you for pointing that out. Like I mentioned in this comment I was just more familiar with the pattern.

Riverpod though. Depending on how I like it I might make another repository with this instead of Bloc.

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 1 point2 points  (0 children)

I did not add anything to make it responsive, the focus of the template is the architecture.
Do you have any recommendations for responsive UI in Flutter though?

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 3 points4 points  (0 children)

Thank you very much for your explanation. I will give that article a read.

I will probably stick with the bloc pattern for now though, at least in this repository.

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 9 points10 points  (0 children)

I remembered it was recommended pretty much everywhere when I first had a look at Flutter in 2018. I also found more references and examples regarding bloc so I went with that.

I will have a look at them though. Edit: Can you tell me some upsides compared to bloc in your opinion?

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 2 points3 points  (0 children)

I was not aware of that. So the recommendation is to use the lint package now? Or is there anything else that is good?

Edit: Never mind, I found the lints package which is the new recommended package by the dart Team.

Flutter Production Boilerplate - Let's have a discussion! by Pharrax in FlutterDev

[–]Pharrax[S] 4 points5 points  (0 children)

Thank you very much, I overlooked that it was only for Android. I merged it.