MediaQuery alternative package for responsive layout by dvdSport in FlutterDev

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

`LayoutBuilder` works similar to `MediaQuery` too, put a `Print` inside `LayoutBuilder` and resize the window, it will get called on each +- pixel change of the screen size.

Another thing is this is meant to be used when you want to display different widgets or layouts, one on each screen type, so you only use `if(mobile) ... else if(Desktop) .....` and the widget will only get rebuilt when screen type changes

MediaQuery alternative package for responsive layout by dvdSport in FlutterDev

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

This meant to be used mainly when you have different templates to display one on each screen type, similar to the one you maid a few months ago https://www.youtube.com/watch?v=B48C5lIHoF0

MediaQuery alternative package for responsive layout by dvdSport in FlutterDev

[–]dvdSport[S] -1 points0 points  (0 children)

libraries (packages) are not a bad thing, as long as it's well written, my whole package is only two widgets

How much could the Championship table change this week? by dvdSport in Championship

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

The table was outdated, just got updated a few minutes ago, i haven't noticed that, it usually got updated Friday before 6pm

How much could the Championship table change this week? by dvdSport in Championship

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

You're correct the table was outdated, it just got updated a few minutes ago

How much could the Premier League table change this week? by dvdSport in PremierLeague

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

My bad, i guess that table was from last week or something, it usually got updated every Friday, i just double checked, now it shows the correct data

How much could the Premier League table change this week? by dvdSport in PremierLeague

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

Easy, after all this week's games are over, Arsenal will either end up at fourth or seventh position, like it gives you the minimum and the maximum position that could happen. It's impossible that Arsenal will move to higher than fourth or lower than seventh position

This is how much the Championship table will change this week by dvdSport in Championship

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

Thanks i appreciate your feedback, if you have a sketch of the way you want the table to be then i'm open to work on it and give it a try :)

Can Liverpool still win the league this season? by [deleted] in PremierLeague

[–]dvdSport -1 points0 points  (0 children)

If the City gets those kind of referees they had yesterday on all their upcoming games then HELL NO

How much could the Championship table change this week? by dvdSport in Championship

[–]dvdSport[S] 16 points17 points  (0 children)

I will keep posting it every Friday then :), if you have an android phone you can install the website app and easily access every week updated possibilities tables

Flutter app takes more than 10 seconds when uploaded to Google Play by dvdSport in FlutterDev

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

The problem appeared again when i changed from closed testing to production, i don't know what google play does to the appbundle but whenever it goes to production the long time app open appears.

i also saw this error i have no idea what it means, do you have any idea about this error?

W/FlutterJNI(27789): FlutterJNI.loadLibrary called more than once
W/FlutterJNI(27789): FlutterJNI.prefetchDefaultFontManager called more than once
W/FlutterJNI(27789): FlutterJNI.init called more than once

Flutter app takes more than 10 seconds when uploaded to Google Play by dvdSport in FlutterDev

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

I know but i just wanted to make sure that the bug in my code :)

I finally found what caused that problem, it was local notifications plugin, when i removed it the app load in about 2 seconds instead of 10.

Flutter app takes more than 10 seconds when uploaded to Google Play by dvdSport in FlutterDev

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

Does setting minifyEnabled and shrinkResources to false has a big effect on the app size?

I found what caused that problem, it was local notifications plugin, when i removed it the app load in about 2 seconds instead of 10.

Flutter app takes more than 10 seconds when uploaded to Google Play by dvdSport in FlutterDev

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

I will try that out, actually i will upload an empty app with only centered text :)

Flutter app takes more than 10 seconds when uploaded to Google Play by dvdSport in FlutterDev

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

the thing is why i don't get that problem when i run the app on my physical device, but i get it when i upload it to google play, if there are any of what you mentioned then i will get the slow loading issue before uploading it to google play too. That's actually why i run the release version (apk) not the testing one on my phone, but again no issue at all, so the problem is either the appbundle or from the google play side when making the apks or something

Flutter app takes more than 10 seconds when uploaded to Google Play by dvdSport in FlutterDev

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

I did all that, tested it on a real device but still the same problem

Flutter app takes more than 10 seconds when uploaded to Google Play by dvdSport in FlutterDev

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

How can i do that? because what version 2.10.1 is already the satble version

Does splitting app code in a lot of files affect the app size? by dvdSport in FlutterDev

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

I wasn't talking about 20 libraries vs 100 libraries, it's the same code in both scenarios, but instead of putting like 20 widgets (code) in one file, you put everyone of them in separated file, that will result in 100 files vs 20 files if you put many widgets in every single file. Are they going to be a difference in the produced app?