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

Function Widgets or Stateless/ful Widgets?
Is there anything wrong with this practice? We all know the boilerplate that comes with extending StatelessWidget.Lately I've been making platonic Widgets with functions using Builder. Is there anything wrong with this practice?
// Outside a StatelessWidget Widget myWidget(BuildContext context, String s) { return Builder(builder: (context) { return Text(s); }); } // ... in some StatelessWidget @override Widget build(BuildContext context) { return myWidget(context, "Hello World"); } 
It seems too good to be true. There has to be some incurred costs to writing Function Widgets. What do you think?

March 28, 2020 at 05:45AM by zealothree
https://ift.tt/2Jm5mTy
New post on /r/flutterdev subreddit:

SweetSheet v0.2.0 (Full customisation)
The version 0.2.0 of sweetsheet is out with full color and text customisation capabilities. Go check it out.sweetsheet package

March 28, 2020 at 08:52AM by CorneilleEdi
https://ift.tt/2wxbRjz
New post on /r/flutterdev subreddit:

so uh should i learn dart before jumping into flutter
so i came across on this language and since people are saying its easy to pick up i saw it by myself and hell 24 lines of code for hello world ? like how is this "easy?" i know lines doesn't matter but whatever my point is is dart going to make this prcess easier or nope?also i wanna use flutter for desktop not mobile devThanks

March 28, 2020 at 12:47PM by Haitamdragon
https://ift.tt/2WPVJ7e
New post on /r/flutterdev subreddit:

Coronavirus tracker application and news updates built with flutter
https://ift.tt/3byea4B

March 28, 2020 at 01:46PM by Mastersamxyz
https://ift.tt/2vUGUFw
New post on /r/flutterdev subreddit:

Does anyone implement any design pattern in flutter ?
And wonder does anyone implement Sushi design pattern in flutter ?

March 28, 2020 at 01:38PM by pspatel602
https://ift.tt/2JmGP0E
New post on /r/flutterdev subreddit:

Here we go again
/r/Flutter/comments/fqhup0/will_flutterdart_survive_long/

March 28, 2020 at 02:44PM by ---jane---
https://ift.tt/2UFKewJ
New post on /r/flutterdev subreddit:

Alternative ad network
Is there any alternative ad network that supports flutter? I am having an annoying account problem with Admob and am not able to use it unfortunately, which is why I am searching for alternatives.

March 28, 2020 at 02:57PM by lvinci
https://ift.tt/2QSK9V9
New post on /r/flutterdev subreddit:

(HELP) How to constantly find a Modal Bottom Sheet's y position?
I have a showModalBottomSheet widget popup and I want to find it's position constantly so I can use this information to animate the border-radius.I don't think this is the best way to do this. It seems I can do this with the animation controller for the bottom sheet if I can get the value for that but I'm not sure how to do that either.I have tried finding the position using a RenderBox but it seems it can only be called once not with every frame.​I'm a beginner with Flutter and Dart so I apologize if this is trivial lol

March 28, 2020 at 03:32PM by sk8tyger
https://ift.tt/3dGZy51
New post on Flutter Dev Google group:

SafeArea is ignored in showModalBottomSheet
I've just noticed that top safe area is being ignored in showModalBottomSheet when isScrollControlled is set to true. showModalBottomSheet( context: context, isScrollControlled: true, builder: (context) => MyModal(), ) class MyModal extends StatelessWidget { @override Widget build(Bui

March 28, 2020 at 03:36PM by Peter Chovan
https://ift.tt/3aCfLWQ
New post on /r/flutterdev subreddit:

A Dart/Flutter package for easy validation.
I few days ago I published my first package: https://pub.dev/packages/verifyIt's a pure Dart package to do validations. Validations can be created in many ways and are easy to combine.I also think it's a great fit for validating bloc states for example.The API is very functional and flexible all done with extensions and typedefs. Give me your thoughts about it!

March 28, 2020 at 04:36PM by decaroj
https://ift.tt/2JndpiI
New post on /r/flutterdev subreddit:

Bringing onResume/viewDidAppear onPause/viewDidDisappear to Flutter
https://ift.tt/33ZzDB2

March 28, 2020 at 06:18PM by Epidemy11
https://ift.tt/2xvS0Bg
New post on Flutter Dev Google group:

Corrupted PDF error
I am implementing a pdf viewer in flutter. however, when i am trying to use a url for a pdf i have on my drive(it's not an issue of permission. i opened the link in incognito and it opened), i get the following error -- [onError, {error: java.io.IOException: cannot create document: File not in

March 28, 2020 at 07:42PM by PARTH SAMNANI
https://ift.tt/33RmgCM