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

App Feedback Thread - October 22, 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

October 22, 2021 at 03:00PM by AutoModerator
https://ift.tt/3m52EpC
New post on /r/flutterdev subreddit:

Trigger hot code reload from within an application
To demonstrate Flutter's hot code reload I wrote a presentation tool (a tiny subset of Keynote) that can embed source code – even its own – and which then triggers a hot code reload on saving. It's fun to see when people realize that those "graphics" are indeed live Flutter widgets or even complete applications.Using FFI it became quite easy to trigger the reload by sending a USR1 signal to the application's parent process which is the flutter run command. This obviously only works on debug builds.I'd like to share the relevant code here:
import 'dart:ffi'; import 'dart:io'; late int _ppid = () { if (!Platform.isMacOS) { throw AssertionError('only works on macOS so far'); } final dylib = DynamicLibrary.open('/usr/lib/libSystem.dylib'); final getppid = dylib.lookupFunction<Int32 Function(), int Function()>('getppid'); return getppid(); }(); /// Triggers a **hot reload** by sending signal USR1 to the parent process. void hotReload() { Process.killPid(_ppid, ProcessSignal.sigusr1); } 
It would be great if someone could share a solution for Windows. For Linux, you probably need to change the path to libc.so or similar.

October 22, 2021 at 05:03PM by eibaan
https://ift.tt/3nhZ8HM
New post on /r/flutterdev subreddit:

How to Display the Modal Bottom Sheet Programmatically in Flutter
https://ift.tt/3Gaw3GT

October 22, 2021 at 06:20PM by maco6461
https://ift.tt/3E8wZJQ
New post on /r/flutterdev subreddit:

inspector - A Flutter eyedropper and widget inspection package
https://ift.tt/3jpUKFi

October 22, 2021 at 07:20PM by kekland322
https://ift.tt/3juVSYn
New post on /r/flutterdev subreddit:

Damn YAML
Damn pubspec file has been annoying me. I'm adding fonts and getting errors. So I assume that I have added extra space or something. Was going to reed documentation on the official page, but it's garbage there. The compiler also doesn't help with anything much. "Expected a key while parsing a block mapping"." YAML is a human friendly data serialization language for all programming languages. "Very friendly... Can't understand it at all. Checked code in validator showing all ok.I just can't keep my cool anymore and need to put this out at least.---------------------------After got it working----------------------------Ok, there was one extra space. But how do I know?I just keep removing spaces and trying it. This is bs...I'm I the only one with this problem?

October 22, 2021 at 11:01PM by Routine-Arm-8803
https://ift.tt/3E8g9Lf
New post on /r/flutterdev subreddit:

Commodore 64 Screen in Flutter
https://ift.tt/3vE3Va0

October 23, 2021 at 06:24AM by VandadNahavandipoor
https://ift.tt/3b1Yd8q
New post on /r/flutterdev subreddit:

My App Layout Broken in Tablet Mode
Why flutter not handle the scale by default? my app is broken. Now i need Screen_util library

October 23, 2021 at 10:01AM by bogaga200
https://ift.tt/2ZjNsfq
New post on /r/flutterdev subreddit:

Apps built using Flutter Framework.
Can anyone post a list of famous apps/companies that used Flutter for apps that are used by millions of People?We know there’s Google Pay, Ads & Alibaba app. But trying to dig deeper than that here.

October 24, 2021 at 01:24AM by ponpbe
https://ift.tt/3CbskpY
New post on /r/flutterdev subreddit:

Golden Testing and Builders before the RootAppWidget
Just what it says, getting RenderBox errors when I attempt to provide a RootAppWidget to the widget under test during goldens.​Workaround is to make the MyApp stateful, just wondering why its happening

October 24, 2021 at 01:17AM by fredgrott
https://ift.tt/2ZgKc4P
New post on /r/flutterdev subreddit:

Full stack graph tutorials?
Does anyone have good resources of full stack grpc with flutter? I have taken few courses on udemy but had difficult understanding as those courses won't show end to end integration. I have tried the official grpc site but being an below average developer I find it extremely difficult to wrap my head around it. There are tons of Graphql tutorial but looks like not enough good resources on Full stack grpc. I am ok with any language for the backend as long as it shows integration with front end as well.

October 24, 2021 at 05:56AM by BraveEvidence
https://ift.tt/3jtE1Ru