Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New tweet from FlutterDev:

🦋 Chapter 14: Pop Quiz! The class that runs a stream is a called a... #flutterapprentice— Flutter (@FlutterDev) Dec 22, 2021

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

A good flutter virtual keyboard
https://ift.tt/3FiifZY

December 22, 2021 at 09:39PM by RoadRyeda
https://ift.tt/3EnL7i2
New post on /r/flutterdev subreddit:

[QUESTION] No push notification capability in Xcode
Do I need a paid Apple developer account to create a push notification?https://imgur.com/RktnpWO

December 23, 2021 at 04:09AM by Snorlax_lax
https://ift.tt/3mtqz1x
New post on /r/flutterdev subreddit:

All I want for Christmas with Flutter is .....
My top wish list is that Flutter would automatically accept any file within the asset folder, rather than having to manually enter each sub directory in pubspec.yaml.

December 23, 2021 at 11:29AM by Alex54J
https://ift.tt/3el7BFT
New post on /r/flutterdev subreddit:

Is Compose Multiplatform better than Flutter?
Is compose multiplatform better than flutter in desktop apps?Because they kinda use the same rendering engines( i.e. skia ), what's the performance difference?Which makes it easier to develop for both mobile and desktop?

December 23, 2021 at 12:41PM by Own-Antelope-171
https://ift.tt/3qiptXH
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