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

What's the meaning of underscore after class ?
Here is the code from flutter-samples. What's the meaning of underscore after class? Why and when should we use it?Why not choose the second example without underscore? Needs your help, Thanks!https://github.com/diegoveloper/flutter-samples/blob/ec5aa049d729a02fe18cbaf84ef60e5d761e35bd/lib/fetch_data/photo.dart#L5 ``` class Photo { final String title; final String thumbnailUrl;Photo._({this.title, this.thumbnailUrl});factory Photo.fromJson(Map<String, dynamic> json) { return new Photo._( title: json['title'], thumbnailUrl: json['thumbnailUrl'], ); } }```https://flutter.dev/docs/development/data-and-backend/json ``` class User { final String name; final String email;User(this.name, this.email);User.fromJson(Map<String, dynamic> json) : name = json['name'], email = json['email'];Map<String, dynamic> toJson() => { 'name': name, 'email': email, }; } ```

January 03, 2020 at 09:43AM by the_bigbang
https://ift.tt/2QmcjYV
New post on Flutter Dev Google group:

iOS start video recording error (using flutter camera plugin)
Hello! I write mobile app on flutter and use flutter plugin camera (latest version). On any android device there is no problem with video recording (both debug and release bundles), but I faced with iOS device problem, when on method startVideoRecording() call an error occurs: [AVCaptureVideoDat

January 03, 2020 at 11:33AM by Julija Karima
https://ift.tt/2SV8z22
New post on /r/flutterdev subreddit:

How to Add Special Characters/Unicodes ?
How to Add Special Characters/Unicodes?

January 03, 2020 at 01:00PM by citrusleafin
https://ift.tt/36nbKU6
New post on /r/flutterdev subreddit:

[in_app_purchase] initialization problem on iOS
Anyone here has an issue with the in_app_purchase plugin on IOS only? I cannot get past purchases and verify current purchases — [Issue on GitHub].

January 03, 2020 at 12:57PM by ilyasKerbal
https://ift.tt/2ZMNOHg
New post on /r/flutterdev subreddit:

Widget Migration Status
/r/Flutter/comments/ej2p7k/widget_migration/

January 03, 2020 at 02:42PM by flutterator
https://ift.tt/39BqW23
New post on /r/flutterdev subreddit:

is it possible to use accessibility services when you make an app with flutter ?
Specifically, i want to make an app that records clicks and replays them as recorded.basically create a macro.i want to make this because my elder sister currently can't use her fingers properly as it hurts her. so instead of her further damaging by using her fingers constantly i want to make this so that she uses it less often and leaves the repetitive task to code.

January 03, 2020 at 03:37PM by Eufrasia_
https://ift.tt/2ZN0y0J
New post on /r/flutterdev subreddit:

Provider seems a really BIG flaw
If i define a provider somewhere down my widget tree and i want to push a new page using navigator, then that new page will not have access to my provider because it will be a child of MaterialApp. Now if i want my page to have access to my provider, then i will have to either inject through the constructor or define my provider above MaterialApp.If i inject it through my constructor then im going against what provider really isIf i define it above material app then its bad design. My whole widget tree does not need access to this providerEither way its bad design. What im forced to do now is something like a custom navigator. Something that allows me to switch between pages while maintaining my level in my widget tree. So now im missing out on all the features of navigator.

January 03, 2020 at 08:19PM by fd991
https://ift.tt/39ECy4e
New post on /r/flutterdev subreddit:

What are your opinions of the package get_it? Why should / shouldn't you use it?
Hello,As a new developer, I would like to understand the communities likes / dislikes with get_it?It looks like a fantastic package that solves the class linking (nesting, not sure of the word?) that can be created by proxy provider. It allows you to register lazily loaded singletons and access it from anywhere in the app without the build context.What am I missing? Why is the sentiment that is it a bad thing to use?

January 03, 2020 at 09:20PM by giiyms
https://ift.tt/2QmBhr6
New post on Flutter Dev Google group:

Download bundle from Apple's on-demand resource directly from Flutter?
Hi, I can't seem to find a comprehensive answer to this online. In Flutter, can you access iOS bundles via Apple's on-demand resource APIs? Is there a way to pull bundles from Apple's side via Flutter without going into native code?

January 03, 2020 at 09:34PM by sebla
https://ift.tt/2SMgPBH
New post on Flutter Dev Google group:

Best method for handling client/server communication? IOWebSocketChannel seems broken.
Hi all, Looking for some advice on whether there's a better way to handle client/server communication as my current approach feels very messy. In essence, I need a method to open a connection from my Flutter app to a device over TCP/IP connection, and pass simple commands and data strings back

January 03, 2020 at 11:42PM by Ross Cooper-Smith
https://ift.tt/2QEDvkA
New post on /r/flutterdev subreddit:

My very first Flutter UI package. smooth_page_indiacator
https://ift.tt/2QKjEjV

January 03, 2020 at 11:25PM by Milad_Alakarie
https://ift.tt/2rRgTVx
New post on /r/flutterdev subreddit:

Apple's ODR network via Flutter?
There doesn't seem to be a answer for this online either way. However, in Flutter, can you access iOS bundles via Apple's on-demand resource APIs? Basically is there a way to download asset bundles from Apple's ODR network via Flutter ... without going into native code? Everything I've seen so far, points to this having to be done via native code.

January 03, 2020 at 10:52PM by _DarthCoder_
https://ift.tt/2MRyRPd
New post on /r/flutterdev subreddit:

What are some of your favorite animation/graphic plug-ins for Flutter that we should know about?
Currently building a pretty front end heavy application and was just wondering what some of your favorite visual capabilities of Flutter that you have seen or used so far were.

January 04, 2020 at 01:48AM by PlzTellMyWiFiLoveHer
https://ift.tt/35fZcg8
New post on /r/flutterdev subreddit:

Steaming app UI challenge with animation.
https://www.youtube.com/watch?v=OZvJswfIh4s&feature=youtu.be

January 04, 2020 at 03:16AM by humazed
https://ift.tt/39DgMxV