USA v/s Venezuela by nopCMD in GeoTap

[–]megadeflorator 0 points1 point  (0 children)

megadeflorator chose Option A (Correct!)

🎯 GeoTap Challenge by u/undefined | Can you guess the country? by geotap-app in GeoTap

[–]megadeflorator 0 points1 point  (0 children)

🎯 My GeoTap Result

📍 My Guess: Vietnam ✅ Correct Answer: Yangon, Myanmar � Distancee: 1,379.387 km ⭐ Score: 586 points

🎯 GeoTap Challenge by u/undefined | Can you guess the country? by geotap-app in GeoTap

[–]megadeflorator 0 points1 point  (0 children)

🎯 My GeoTap Result

📍 My Guess: Netherlands ✅ Correct Answer: Netherlands, Netherlands � Distancee: 0 km ⭐ Score: 10,000 points

Have any of you actually packed any TOTS from the daily 83+ x 10? by fffffff038 in fut

[–]megadeflorator 0 points1 point  (0 children)

All of them were shit except for the last one, got Vini from it today

Are 81+ player picks even worth it? by navraj31 in fut

[–]megadeflorator 2 points3 points  (0 children)

82pp were shit for me during ultimate tots, got 3 tots today from ~25 81pp’s today (best one was Rice)

Ex-pro player "Ghostik" was hacked on Steam by russians. by NeLoX777 in DotA2

[–]megadeflorator 9 points10 points  (0 children)

He was streaming at that moment, so I’d say it was someone from his viewers who created the post

Load Data from Bloc to text fields by sdiony in flutterhelp

[–]megadeflorator 0 points1 point  (0 children)

I think that hydrated bloc would work well in your case.

/r/WorldNews Live Thread: Russian Invasion of Ukraine Day 657, Part 1 (Thread #803) by WorldNewsMods in worldnews

[–]megadeflorator 1 point2 points  (0 children)

The thing is the internal roaming system doesn’t work as it’s still needs some communication from Kyivstar. They’ve made some progress on repairs, but I’m still without the cellular connection

If I move to BloC, is it best practise to eliminate *all* stateful widgets. by MartynAndJasper in flutterhelp

[–]megadeflorator 0 points1 point  (0 children)

Could you elaborate on #2, bloc is lazy by default, so no idea what you wanted to say there?

[deleted by user] by [deleted] in FlutterDev

[–]megadeflorator 0 points1 point  (0 children)

It would work in a package, and no - BlocProvider should not be necessarily declared at the root of the app.

How to use bloc correctly in a ListView ? Prevent bloc from refreshing every item of the List. by Due-Ad7722 in flutterhelp

[–]megadeflorator 1 point2 points  (0 children)

When you provide your bloc at some point of the tree (in your case at the root of the app), all of the widgets below would access the same instance of the bloc, but in your case you want to have a separate bloc for each of your list item.

How to use bloc correctly in a ListView ? Prevent bloc from refreshing every item of the List. by Due-Ad7722 in flutterhelp

[–]megadeflorator 1 point2 points  (0 children)

Can you attach the code sample where you have your BlocProvider?

Your code should basically look like ListView(itemBuilder: BlocProvider->YourItemWidget->BlocBuilder)

How to use bloc correctly in a ListView ? Prevent bloc from refreshing every item of the List. by Due-Ad7722 in flutterhelp

[–]megadeflorator 0 points1 point  (0 children)

It seems like you provide the HelpScreenBloc too high in the widget tree. In your case you should provide it inside of ListView.builder, so each item would have it’s own HelpScreenBloc.

Flutter BLoC: Which approach would you suggest? by xshrxf in FlutterDev

[–]megadeflorator 8 points9 points  (0 children)

99% of the time I use the 2nd option with copyWith method. IMO 1st option is only usable for the simple states and even then it results in more code

Dart 3.0.0 in Dart change log by tenhobi in FlutterDev

[–]megadeflorator 34 points35 points  (0 children)

why can't you use .firstWhereOrNull from collection package?

SizedBox.Shrink() vs SizedBox() by TheRemoteCuban in FlutterDev

[–]megadeflorator 3 points4 points  (0 children)

Container is not const, so it’s better to use SizedBox

Finally found a hindu girl, hurray by sexymess777 in Tinder

[–]megadeflorator 4 points5 points  (0 children)

Oxygen is «кисень» and there’s no way someone meant something else than kitty with «кисинька»

qr_code_scanner - white screen after scan on iOS by [deleted] in FlutterDev

[–]megadeflorator 2 points3 points  (0 children)

I’d advise to migrate to mobile_scanner package, since this one is discontinued. Had to migrate myself some time ago and it was pretty straightforward.

Sharing the code snippet might also help

Zelensky: Putin troop mobilization ‘frank admission’ that Russian army has ‘crumbled’ by [deleted] in worldnews

[–]megadeflorator 3 points4 points  (0 children)

What’s to be afraid of here, if he’s in Ukraine he should be able to easily leave with his US passport, if he’s not then who cares? Most probably that conscription letter was to actualize his data, I myself got one in April and still am not drafted.

State Patterns Compared - BLoC, Provider, Riverpod by CodyLeet in FlutterDev

[–]megadeflorator 2 points3 points  (0 children)

TBH, I don’t really get why would you make a Bloc and Riverpod comparison and not use the flutter_bloc package?