Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

How to download multiple images on a single connection
I have a image gallery and image being available in my server and listed using GridView. In Dart dev tools it shows different connection for each images. Is there anyway to optimize this? Like http2 something or anything like that?

December 23, 2021 at 01:33PM by mil10akash
https://ift.tt/3qDBIyn
New post on /r/flutterdev subreddit:

In defence of Navigator 2
To be honest, I was also super disappointed by the Navigator 2 architecture at first sight. However ... after swallowing the bitter pill and learning how it actually works it got me a far better understanding of the entire Navigator stack and routing mechanics. I was able to implement a long lived page that mutates between different routes and routes params to change its layout shape without sacrificing performance due to constant rebuilds. My use case is extremely specific on which parts of the layout move at which routes (similar to game HUDs). I doubt I could achieve the same results with any of the 3rd party wrapper libs since their API is strongly tied to the idea of "1 route, 1 page widget build" which makes total sense for most use cases, except for my particular scenario.I'd say the trouble with Navigator 2 is that it is not properly explained why was it built this way (in simple easy to understand words). The documentation could be better. The things it tries to achieve are equally demanding as learning Angular from scratch or learning to use Redux. These examples are well known as though hills to climb. But, once on top you walk away with far far better understanding of how the library works and the performance implications. If you want to aim at production level quality and stability you need to have a solid understanding of all the mechanics of the library. And Navigator 2 is an excellent way of having total control over navigation/routing.To sum it up:Router - Reacts to web routes and handles deep linkingRoute Information Parser - It converts from internal app state to route params and the other way around.Router Delegate - It stores the app state and builds the Navigator Stack which in turn contains Pages. The Navigator basically is a stack of initialised views overlapping each other to be able to render the fancy transition animations. Great for simple mobile apps. Not great for performance demanding web apps. That's why Navigator 2 gives you options and better control on how to deal with the Navigator stack depending on the route.Route Interface - A custom class used to represent routes data to be passed around. Each page could have it's own route class or use a common one. It depends on the developer to chose the proper solution.When to use which one?For mobile only, use Navigator 1 (it does not support web history, only web routes)For web + mobile, standard simple routing for typical apps, use 3rd party libs (almost all resemble the Angular Router API)For fancy needs and total control, use Navigator 2Out of all tutorials the original one was the best explained. Though highly tedious, it does cover the entire workflow and if you take your time, it will make sense.

December 23, 2021 at 01:29PM by SpaceInstructor
https://ift.tt/3ekSnRq
New post on /r/flutterdev subreddit:

How to write excel file to the storage in ios?
I want to create an excel file.what are the permissions needed in IOS, & how should I do it?

December 23, 2021 at 02:44PM by AbhisekPatil
https://ift.tt/33MZUGx
New post on /r/flutterdev subreddit:

Using Google Map for my Flutter App Cost?
According to https://mapsplatform.google.com/pricing/ this page, it seems like I am charged $7 / month for 1,000 requests (despite the $200 free credit).On the other hand, https://developers.google.com/maps/billing/gmp-billing?_gl=1*kv19pt*_ga*MTY3ODMyNDMwNC4xNjQwMjczNTM4*_ga_NRWSTWS78N*MTY0MDI3NjA4Ny4yLjEuMTY0MDI3NjczNy4w#mobile-dynamic says that Maps SDK for Android or iOS are at 0.00 USD - if I use the dynamic maps without cloud-based maps styling?I am using https://pub.dev/packages/google_maps_flutter this package and how it says so. Now, I am wondering if this is the map without cloud-based styling? Is there any way that I can check?

December 23, 2021 at 05:33PM by kakakokiko
https://ift.tt/32sL33q
New post on /r/flutterdev subreddit:

Flutter Authentication Flow with Go Router and Provider
Gole of this articleGole of this article is getting a comprehensive understanding of the flutter declarative routing and the scenarios like login state, app initialization on startup, splash, onboarding, etc...full article here

December 23, 2021 at 08:13PM by ishangavidusha
https://ift.tt/3EpWxSH
New post on /r/flutterdev subreddit:

turn column to scroll view. I realize my cards wont fit on screen
sorry , im a complete noob and need help with my code. Thankshow do i make it a scroll view so i can fit as many cards as i wantclass _MyHomePageState extends State<MyHomePage> {
u/override
Widget build(BuildContext context) {
return Scaffold(
      appBar: AppBar(
        title: Text("StudyBuddy"),
      ),
      body: Column(children: <Widget>[
Card(
          elevation: 5,
          margin: const EdgeInsets.all(16.0),
          child: InkWell(
            onTap: () {
Navigator.push(
                context,
MaterialPageRoute(builder: (context) => SubjectDetails()),
              );
            },
            child: Container(
              child: Text("English", style: TextStyle(fontSize: 20)),
              width: 350,
              height: 100,
              padding: const EdgeInsets.fromLTRB(140, 30, 0, 0),
              color: Colors.grey[200],
            ),
          ),
        ),
Card(
          elevation: 5,
          margin: const EdgeInsets.all(16.0),
          child: InkWell(
            onTap: () {
Navigator.push(context,
MaterialPageRoute(builder: (context) => SubjectDetailsAfr()));
            },
            child: Container(
              child: Text("Afrikaans", style: TextStyle(fontSize: 20)),
              width: 350,
              height: 100,
              padding: const EdgeInsets.fromLTRB(130, 30, 0, 0),
              color: Colors.grey[200],
            ),
          ),
        ),
Card(
          elevation: 5,
          margin: const EdgeInsets.all(16.0),
          child: InkWell(
            onTap: () {
Navigator.push(context,
MaterialPageRoute(builder: (context) => SubjectDetailsmat()));
            },
            child: Container(
              child: Text("Maths", style: TextStyle(fontSize: 20)),
              width: 350,
              height: 100,
              padding: const EdgeInsets.fromLTRB(140, 30, 0, 0),
              color: Colors.grey[200],
            ),
          ),
        ),
Card(
          elevation: 5,
          margin: const EdgeInsets.all(16.0),
          child: InkWell(
            onTap: () {
Navigator.push(context,
MaterialPageRoute(builder: (context) => SubjectDetailsphy()));
            },
            child: Container(
              child: Text("Physical Science", style: TextStyle(fontSize: 20)),
              width: 350,
              height: 100,
              padding: const EdgeInsets.fromLTRB(95, 30, 0, 0),
              color: Colors.grey[200],
            ),
          ),
        ),
      ]),
    );
  }
}

December 23, 2021 at 09:12PM by ball-sack-patato
https://ift.tt/3svvfI4
New tweet from FlutterDev:

🦋 Chapter 15: Pop Quiz! One of Hive's great strengths is its... #flutterapprentice— Flutter (@FlutterDev) Dec 23, 2021

December 23, 2021 at 09:04PM
https://twitter.com/FlutterDev/status/1474108648276127744
New post on /r/flutterdev subreddit:

We are looking for 2 full time Flutter developers.
Hi 👋 I’m the manager of a small IT company and we are starting the development of a new internal project.Ideally we would like to hire 2 Flutter developers who already have some interesting previous experience in the mobile field.We are open to both, payroll and freelance contract, feel free to send me a DM.Some important details: - 40h/week - 100% remote - Timezone UTC+3 up to UTC+8 - An iOS or Android background is important but not mandatory - TDD with Clean Architecture and Bloc is our current technical vision - Fluent in English - Highly willing to progress and take more responsibility

December 24, 2021 at 04:09AM by Muffin-5412
https://ift.tt/3elrrRr
New post on /r/flutterdev subreddit:

Join flutter advance course
https://youtu.be/w990vpLuog8

December 24, 2021 at 10:05AM by Honest-Extreme-3054
https://ift.tt/30WcYIB
New post on /r/flutterdev subreddit:

We are looking for 2 Flutter developers, where can I post the job description ?
Any website, subreddit ou Slack to recommend ?

December 24, 2021 at 12:56PM by Muffin-5412
https://ift.tt/3Eq4ibf
New post on /r/flutterdev subreddit:

App Feedback Thread - December 24, 2021
This thread is for getting feedback on your own apps.Developers:must provide feedback for othersmust include Play Store, App Store, GitHub, GitLab, or BitBucket linkmust make top level commentmust make effort to respond to questions and feedback from commentersmay be open or closed sourceCommenters:must give constructive feedback in replies to top level commentsmust not include links to other appsTo cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.- r/FlutterDev Mods

December 24, 2021 at 03:00PM by AutoModerator
https://ift.tt/3ErIWub
New post on /r/flutterdev subreddit:

Purely Functional Flutter?
I am a backend developer who is used to functional programming in Scala. I love the Flutter community and ecosystem but wish I could write Flutter like Elm or PureScript. I know that there's an fpdart library, but that does functional programming in the small, i.e., add types like Option and Either, which is not quite what I am looking for. I'd like to write it in the Elm flavor of only having messages, state, and view and unidirectional data flows. Is there an example of a Flutter app written this way?

December 24, 2021 at 05:35PM by crpleasethanks
https://ift.tt/3svBBqZ
New post on /r/flutterdev subreddit:

Flutter web older browsers compatibility.
What's the oldest chromium version that the flutter web app can run on? Will I face any issues if someone for some reason tries to visit our web app on a TV or very old version of browser?

December 24, 2021 at 07:23PM by NeatFastro
https://ift.tt/3yX85vl
New post on /r/flutterdev subreddit:

We've created a fun package that makes it easy to create a glass morphism UI!
Hi, everyone.I'd like to introduce my developing Flutter package here, which is glassmorphism_widgets.https://pub.dev/packages/glassmorphism_widgets/This package is intended to make it easy to create Glassmorphism UI.Colors, shapes, sizes, everything can be made just the way you want it!​Install it and enjoy Glassmorphism!

December 25, 2021 at 05:51AM by hiyoko-ninja
https://ift.tt/32hr5cl
New post on /r/flutterdev subreddit:

Tool for converting Dart Analyzer output to Checkstlye and JUnit report formats
Tool for converting Dart Analyzer output to Checkstlye and JUnit report formats. Plugins output can be using for visual reports on CIs (Jenkins for example).How to useCheck your project with Dart Analyzer and write its output to a file:shell flutter analyze > analyzer_report.txtanalyzer_report.txt is the name of Dart Analyzer report by default. You can change it and pass your own by --analyzerReportFile argument.Run tool for project folder:shell flutter pub global run analyzer_formatterYou can use it by installing instruction from pub.dev or view repository on GitHub.

December 25, 2021 at 05:25AM by jamanSmk
https://ift.tt/32iG1Hd
New post on /r/flutterdev subreddit:

Flutter poor performance over time
Hi,I've been developing an app for flutter for connecting users together in a matchmaking process based on their locations for people looking to hire technicians within their area. The app consists of 2 page routes (one login, one main map screen), about 7 different widgets to represent various pages within the main app screen, and the main view is a google map widget inside a container.Today I was working on some of the queuing process just putting final touches, and then family showed up for the holiday dinner. I forgot the emulators running - all 4 were left on the main map view, with none of the users searching for a job, a technician, and none of them connected to eachother. What this means is no updates were being made to the app, and no build method should have been called. After about 3 hours, I came back to the computer to find that all 4 of the emulators were running at about 5 FPS. I thought I had noticed this type of performance issue which grew over time before, but wasn't completely sure until today. I quit and reopen the app and it was back to being smooth as butter.I'm just wondering if anyone has run into this; if it's maybe just a fault where an emulator can't run an app for very long intervals (even though there shouldn't have been any updates happening to cause this, that I know of..). I've never seen this happen on a device as the app typically isn't open for even close to 3 hours at a time, but if a customer or technician accidentally left their device on with the app open, this could kill their phone in no time at all.I haven't used flutter development tools yet as I'm still relatively new to it. Can anyone give me some insight on how I might track down the issue, if it's just a fault with running on an emulator for long periods, or any other tips?Thanks!

December 25, 2021 at 05:18AM by hydrangers
https://ift.tt/3Jha4j3