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

App Feedback Thread - June 09, 2020
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

June 09, 2020 at 02:33PM by AutoModerator
https://ift.tt/3h3LZOu
New post on Flutter Dev Google group:

Issues with publishing package
Hi, I decided to revive a package I developed a year ago, but I can't upload my new work. It seems that I have been using a gmail account, that no longer exists back then and now I can't maintain the package anymore. Is there any way to claim the package? I can proove that I'm the creator of

June 09, 2020 at 04:36PM by Karol Wąsowski
https://ift.tt/2YcuWkM
New post on /r/flutterdev subreddit:

Building a Puzzle Game in Flutter
Learn how to build a 2D puzzle game in Dart and Flutter.There are several Flutter UI development concepts utilized in the design of this simple game, each of which plays an important part in the overall management of game state and graphics rendering.These include:Basic Flutter widgets such as Container, SizedBox, Column, etc.Using AnimationController, AnimatedWidget, and TweenManaging state with ChangeNotifier / ChangeNotifierProviderHandling events and utilizing Stream / StreamControllerCapturing and de-bouncing gestures with GestureDetectorYou can find it here: https://medium.com/kennethreilly/building-a-puzzle-game-in-flutter-41c6c1eee65a?source=friends_link&sk=f61335eb9066e9f49a3f7d11bfd3607d

June 09, 2020 at 04:37PM by Fewthp
https://ift.tt/2AaCxZj
New post on /r/flutterdev subreddit:

Flutter Web, the video below shows how application build in flutter works on web, I've changed to channel beta,!!
https://ift.tt/3hazS2f

June 09, 2020 at 05:14PM by maliDevFlutter
https://ift.tt/3dILuay
New post on /r/flutterdev subreddit:

Flutter Web, follow this link you can see the application build on flutter, how works on web!!, I've changed to beta channel to make version web!!
https://liliana99.github.io/flutter_web_example/

June 09, 2020 at 05:22PM by maliDevFlutter
https://ift.tt/37hVW6l
New post on /r/flutterdev subreddit:

Is there a way to implement authentication without bringing up a webview?
Hi, I’m trying to implement login authentication in a Flutter app. This is my first project in flutter. It seems like all the libraries and protocols require a browser/webview to enter in login credentials because otherwise it would pose a security risk. The app I’m creating will be logging into accounts on my website. If I am sure the app isn’t going to misuse or even store the credentials, is there anyway I can get around this? I’d like the login natively in the app without bringing up a browser or getting redirected to one.

June 09, 2020 at 06:14PM by twinsofliberty
https://ift.tt/2ziKCuh
New post on /r/flutterdev subreddit:

Hi Flutter lovers! I created a Dart package for us to help with managing dates easier than with DateTime. Feedback highly appreciated!
https://ift.tt/2AhfdJ6

June 08, 2020 at 03:49PM by DankkkDoonut
https://ift.tt/2Yk69ve
New post on /r/flutterdev subreddit:

Android OS Distribution Stats (website built w/ Flutter!)
https://ift.tt/2XFOsqT

June 09, 2020 at 07:06PM by Codelessly
https://ift.tt/3cMULNu
New post on /r/flutterdev subreddit:

I made derry - a script manager for dart
/r/dartlang/comments/gzpqva/i_made_derry_a_script_manager_for_dart/

June 09, 2020 at 06:49PM by frencojobs
https://ift.tt/2XLZ1bH
New post on /r/flutterdev subreddit:

Flutter performance considerations (vs React and JS in browser and Xamarin.Forms )
Being a Xamarin Dev for quite a while I was frustrated by how poorly it performed in a simple test of putting rotated text labels at random positions of the screen and counting how many are displayed in a second (Dopes/s). Eventually I've built 3 more versions of the test to see how other platforms perform (building basic UI, layout/render, dealing with visual trees/element collections).Sharing the results... And the disappointment of Xamarin.Forms.https://github.com/maxim-saplin/dopetest_flutter/blob/master/Dopes%20per%20second%202.jpg?raw=trueFlutter: 12250 Dopes/sHTML and pure JS/DOM: 2350 Dopes/sHTML and React SPA: 337 Dopes/sXamarin.Forms: 58 Dopes/sBoth Flutter and Xamarin.Forms promise native performance (as compare to Hybrid/Web apps). Though the magnitude of the gap (200x) is a big surprise.Also I think PWA is a good way to go with app dev and no concerns of web performance vs native are actual in 2020.And the repos:https://github.com/maxim-saplin/dopetest_flutterhttps://github.com/maxim-saplin/dopetest_htmlhttps://github.com/maxim-saplin/dopetest_reacthttps://github.com/maxim-saplin/dopetest_xamarin

June 09, 2020 at 09:17PM by medicince
https://ift.tt/2XOiqJq
New post on Flutter Dev Google group:

Flutter Web > No response to touch events on Safari
Hi, I developed a game with Flutter that I embedded with an iframe on a webpage. Events associated with flat buttons (onPressed), InkWell widgets (onTap), or Draggable widgets work on all browsers with either touch or mouse, but on Safari. On Safari, events respond only to a mouse click, not

June 09, 2020 at 09:45PM by C Maxetom
https://ift.tt/2XLDJeo
New post on Flutter Dev Google group:

Grouping Platform Folders
I find having the platform folders at root level cluttering the project. Is there a way to move them to a folder: MyApp |- clients |- android |- ios |- macos |- web |- assets |- test |- lib IMO This should be the default project config for new projects.

June 09, 2020 at 10:44PM by Jeff Jorczak
https://ift.tt/2MKQUG8
New post on Flutter Dev Google group:

When copying contact informtaion to new list a RangeError
import 'package:cbl_beta/providers/invite_contacts.dart'; //this is the structure of my model import 'package:flutter/foundation.dart'; class InviteContacts with ChangeNotifier { String displayName = ''; String phone = ''; String email = ''; bool invite = false; InviteContacts({

June 09, 2020 at 11:06PM by Russ Brewer
https://ift.tt/2Yii2BL
New post on /r/flutterdev subreddit:

Many questions provider global state ? embedded in top widget ?
Hi!
So i am trying to learn flutter, love the tooling and it also makes async a bit easier to program.Now, it might be just me and lack of Dart/flutter skills etc but everything seems to have at least 3 different solutions to one and same problem yet still more problems arises later.I honestly think if there was some kind of kitchen sink for the most common UX/navigations pattern people could focus implementing methods and UI for their domain. Anyone knows such resource ?Anyhow, provider(s). I guess it is common to have a "global" state in an app ? Such as my current position (long/lat) that needs to be reflected whatever (bottom tab) i tap on (one tab might be a map, another a list etc that has my long/lat info). Is n't this something provider could help with or should i use something like sharedpreferences ?Am i supposed to declare these providers in main/runapp (top) ? like so:​MultiProvider(providers: [ChangeNotifierProvider<WalkthroughProvider>(create: (context) => WalkthroughProvider(),),ChangeNotifierProvider<LocationService>(create: (context) => LocationService("init")),],​it works great in one screen to create an instance of one of these provider for example:​class Register extends StatelessWidget {Widget build(BuildContext context) {final mylocationdata = Provider.of<LocationService>(context);​but isnt this a "scoped" instance so when i call a provider implemented method (like getActivites()) on mylocationdata i would like to goto the map tab and see all the markers populated there. I tried but it wont affect another screen.Having a button in the same screen and call that provider instance does indeed populate the markers.Then next problem arises, changing tabs and the state is lost. Until i found out about IndexStack.Now all examples, even the official ones, describes the index variables to switch between the widgets you want in the body.body: IndexedStack(index: _selectedIndex,children: _widgetOptions,)How can i programmatically from a button or listitem tap in one StatefulWidget goto another widget that was included with indexstack above and a bottom navigator. Somehow change _selectedIndex yes but that seems not possible from within another widget.Doing a ordinary Navigator.of(context).pushReplacementNamed will create a full height/width screen so removing the bottom navigator.Thanks :)

June 09, 2020 at 11:09PM by plundin
https://ift.tt/2UnyYWr