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

Local notifications with/in provider
Iam currently trying to figure out, if it would be possible to use the local notifications package (https://pub.dev/packages/flutter_local_notifications) inside/through a provider (https://pub.dev/packages/provider) to minimize the boilerplate in the stateless widget where the notifications will be created, cancelled etc. Any ideas how to do that, if it's even possible? Cause right now I can't find a way by myself.

March 31, 2020 at 02:08PM by Senpai_Sturkopf
https://ift.tt/3bAlxbC
New post on Flutter Dev Google group:

How can I return multiple widgets using for loop?
Hi, The question might be childish but it's really bothering me. I have a listview.builder widget and it should return some cards based on the elements of a non empty list. The list is called names. I know I could use a map function but I want to use a for loop to return the cards. The code I

March 31, 2020 at 02:50PM by Souvik Dutta
https://ift.tt/340JczK
New post on Flutter Dev Google group:

Allow Only English Language to type in TextField
Hi, I have to allow the user only to type English Language in Text Field in Flutter. Do anyone has any idea? Thanks, Balaji KS

March 31, 2020 at 03:25PM by balaji ks
https://ift.tt/2Uw8ylP
New post on /r/flutterdev subreddit:

Weekly Questions Thread - March 31, 2020
This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Also the Flutter.dev getting started tutorial and the Flutter Cookbook should have the answers to most simple questions. Examples of questions:How do I send data to a new screen?Does anyone have a link to the source for the Flutter Gallery app?How do I change the application launcher icon in Flutter?Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.Have a question about the subreddit or otherwise for /r/FlutterDev mods? We welcome your mod mail!Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Fridays.Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

March 31, 2020 at 02:33PM by AutoModerator
https://ift.tt/2yqcI6h
New post on Flutter Dev Google group:

How to get Webview current URL and How to add Icon to one PopupMenuButton item
import 'package:flutter/material.dart'; import 'package:webview_flutter/webview_flutter.dart'; class PaginaWeb extends StatelessWidget { @override String TituloDaPaginaWeb; PaginaWeb(this.TituloDaPaginaWeb); Widget build(BuildContext context) { return Scaffold(

March 31, 2020 at 04:16PM by Bruno Zan
https://ift.tt/2Ux1EwA
New post on Flutter Dev Google group:

How to add realTDB to shop app
guys i really need to add backend to my shopping app ui any ideas i will be grateful

March 31, 2020 at 04:27PM by eteku moses
https://ift.tt/2JsFYLN
New post on /r/flutterdev subreddit:

How to change screen orientation in Flutter
https://ift.tt/3dOJ8HR

March 31, 2020 at 05:12PM by ishanfx
https://ift.tt/3awRJNf
New post on Flutter Dev Google group:

Expirience with ffi/ using a native c library from Flutter
Hello, we have our own C++ Library/SDK with C interface developed that we use for our own application and provide to other developers. Now it is in discussion to use Flutter to write our own Application depending on this library. We tried out ffi with a very short demo (just doing some

March 31, 2020 at 07:32PM by T Maier
https://ift.tt/2xzDsRl
New post on Flutter Dev Google group:

1.17.0-dev.0.0 has pushed to the dev channel
Hi all, The `1.17.0-dev.0.0` release has been pushed to the Flutter dev channel. This is the first use of a new versioning scheme, so if you experience any issues in the `flutter` CLI that seem to be associated with versioning, please file an issue at https://ift.tt/2R2nfuy

March 31, 2020 at 10:11PM by Todd Volkert
https://ift.tt/2R2oIRH
New post on /r/flutterdev subreddit:

Best practice for OS releases on Git?
Hello,I’m wondering what the best practice is when creating a release. I made a separate branch to prepare my android release where I changed the bundle name and did everything else necessary for release listed in the docs for preparing an android release.Is it best to keep this as a separate branch or should I merge it onto the master?Should each OS have it’s own production branch?Thank you in advance for any opinions or advice!

March 31, 2020 at 10:38PM by CallMePaulB
https://ift.tt/2UzkGT3
New tweet from FlutterDev:

🎬How to get animations right!@bouncingsheep and @Fitzface discuss how to create animations in Flutter. Learn how to integrate animations into your apps, dive into the challenges and best practices, and get started animating!

Watch here → https://t.co/U2ubnuFmXS pic.twitter.com/J7FfHj5Ew7— Flutter (@FlutterDev) March 31, 2020

April 01, 2020 at 12:09AM
http://twitter.com/FlutterDev/status/1245111022643326976
New post on /r/flutterdev subreddit:

Best architecture using providers
I like using providers for my applications, I separate the code in 3 parts: the UI, the providers, the services.In your opinion, which of the following two architectures is the best:each page has its own provider declared at the root of the page. The services keep in memory the resources previously read to avoid having to reload a previously accessed resource each time since the providers will be recreated each time the widget is re-created.providers are declared at the root of the tree, each widget can access to any provider according to its needs. This time, it is the providers that keep in memory the resources accessed (since they are never destroyed).I have the impression that the first solution is more readable when the application scales up but less flexible than the second solution (and there could be more redundancy among providers).

April 01, 2020 at 12:27AM by rguillot42
https://ift.tt/3aBH6c2
New post on Flutter Dev Google group:

Flutter for Web - Trying to callback from javascript to dart
Hello, I am trying to pass a dart function to javascript, keep it in reference, and later, when one of the javascript has a callback from a webservice, call the dart function. It works well if I call the dart function directly in the javascript function, but when I keep its reference and call

April 01, 2020 at 01:01AM by Simon Ampleman
https://ift.tt/2WZtkM8
New post on /r/flutterdev subreddit:

Flutter flavors to make two apps from one.
I want to create an app that is a marketplace with users and providers. There are enough common features that I would prefer to only have the code live in one place and not duplicate it in two apps. Could I make one app and use flavors to deploy it as two different apps? How do you wrap the functionality with environment variables (or something else) so each app has the right features?​I have seen basic uses of flavors only to change text and images but I want different pages and functionality in each app. Any links to similar examples would be helpful...

April 01, 2020 at 02:58AM by G8trGuy
https://ift.tt/2UR2MKr
New post on Flutter Dev Google group:

Configuracion web flutter
Hola buenas tarde a todos Soy nuevo en esto de flutter Estoy configurando flutter para web y me topo con esto *Note:* The flutter upgrade command silently fails when origin points to a personal fork. To validate that origin points to https://ift.tt/2dbZsVl, run the following

April 01, 2020 at 02:26AM by Mario Daniel Alexander Garcia Escobar
https://ift.tt/2JxO9Gs
New post on Flutter Dev Google group:

flutter issues
Hi, I've downloaded the flutter sdk, updated the path and the git path. I updated path for both user and system variables though but, when I run "flutter doctor", my cmd window blinks, and then nothing happens I tried to create a new flutter project studio, I received an error like "creating

April 01, 2020 at 05:35AM by Cedric Oppong
https://ift.tt/3dIYOMD