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

Community friends: would anyone be interested in helping this high school teacher and their students build a Flutter app for their local hospital? @timsneath
https://twitter.com/timsneath/status/1206834509758382080

December 17, 2019 at 08:16AM by EngineerScientist
https://ift.tt/38LBR8S
New post on /r/flutterdev subreddit:

Is flutter web production ready?
From their site, it saysAs of 1.12, web support is available on the beta channel.

December 17, 2019 at 07:08AM by Xihuny
https://ift.tt/2EnX4bh
New post on /r/flutterdev subreddit:

How to clear AsyncMemoizer memory ?
How to clear AsyncMemoizer? I need to refresh my tab controller screen after it's opened. But it's not getting updated because the Memoizer isn't allowing me to update the current state of the screen, I have used AsyncMemozier because my futurebuilder was going in a loop in a provider because of notifylisteners, And I was calling my method from a stateful Futurebulider.

December 17, 2019 at 10:30AM by FlutteryFlirt
https://ift.tt/2PqW2RX
New post on /r/flutterdev subreddit:

Can you convert Java code to Dart?
I outsourced one mobile app project which is builded with Java for Android and Swift for iOS. Now I my self started to learn Flutter and I hope there is way to convert this app to Dart code..It hates me to just throw away all the work, time and money invested in building all this native code.

December 17, 2019 at 10:26AM by anonbudy
https://ift.tt/2Emk4Y6
New post on /r/flutterdev subreddit:

First article on Flutter
My first article on Flutter - LINKThere's a lot of intro articles available now, so I'm concentrating on the underlying thing that makes the cross platform possible.I need your support and comments. Thanks!

December 17, 2019 at 10:26AM by georgetk1996
https://ift.tt/2M0mAYk
New post on /r/flutterdev subreddit:

Emulator problems with Firebase plugins.
Hello Redditors!I'm programming a native app in Flutter, The code works perfectly but now that I have my Firebase plugins installed. The emulator with Ios and Android refuses to launch.Have more people had this problem in the past? If so, I would love to hear a possible solution!

December 17, 2019 at 11:21AM by maxm1999
https://ift.tt/34n8mac
New post on Flutter Dev Google group:

Image gallery saver lock the main thread flutter
I'm used Camera
New post on /r/flutterdev subreddit:

Vscode extension for Generating Boilerplate code when using FilledStacks' architecture guide
I have been following FilledStacks' architecture guide for my flutter projects. I felt that it involved a lot of boilerplate to get the project started, which inspired me and one of my colleagues to publish an extension for vscode that generates this boilerplate code.We have published it to the VsCodeMarketplace today and will be looking forward to feedback and criticism. For some reason, it does not appear in the Extension list in VsCode unless the entire name of the extension is typed out.https://marketplace.visualstudio.com/items?itemName=madhukesh040011.flutter-mvvm-architecture-generatorLet us know what more we can add and fix.

December 17, 2019 at 01:00PM by ajilo297
https://ift.tt/2YUKqcY
New post on Flutter Dev Google group:

How to create dynamic variables and assign list of data to it using flutter
How to create dynamic variable and how to add list of key,value pair values to it ?(Please read added comments) Map sample = Map(); // creating sample named dynamic variable List
New post on Flutter Dev Google group:

Validate a text form field only when lost focus.... instead of at every charactor with autovalidate=true
Hello To all I have a question about validating the text form field. Is there a way... to only validate the value of a text form field only when it lost focus... so when users click elsewhere ? I would like to call an API to check if username already exists on my database... so, i know if i set

December 17, 2019 at 03:48PM by Pascal Fournier
https://ift.tt/2RWKMhY
New post on /r/flutterdev subreddit:

Navigator with PageView - PageController
Hello everyone,So i am trying to build an app with a bottom navigator and swipable style pages (like snapchat but with the bottom navigator). What i am having trouble is navigation, specifically with push and pop. I would like it to work kinda like instagram (at least on android). You start on the home page, then if you click search and then the back buttom, it takes yo home, no to the previous page (assuming the main page is only one widget)My question is, is there a way to add a route to the navigator on change in a pageview? Is there another way to do this? I kind of want the animation that comes with pageView.Thanks!

December 17, 2019 at 04:53PM by mfanselmo
https://ift.tt/2PtL7ai
New post on /r/flutterdev subreddit:

<b>Drawer problem</b>
How do I add my CustomDrawer to my hometab screen? I want to press the icon and open my CustomDrawer.&#8203;CustomDrawer&#8203;<code>import 'package:asapp/models/user_model.dart';</code>
<code>import 'package:asapp/screens/login_screen.dart';</code>
<code>import 'package:asapp/tiles/drawer_tile.dart';</code>
<code>import 'package:flutter/material.dart';</code>
<code>import 'package:scoped_model/scoped_model.dart';</code>
<code>class CustomDrawer extends StatelessWidget {</code>
<code>final PageController pageController;</code>
<code>CustomDrawer(this.pageController);</code>
<code>u/override</code>
<code>Widget build(BuildContext context) {</code>
<code>Widget _buildDrawerBack() => Container(</code>
          <code>decoration: BoxDecoration(</code>
              <code>gradient: LinearGradient(colors: [</code>
<code>Colors.yellow,</code>
<code>Colors.orange,</code>
<code>Colors.red,</code>
          <code>], begin: Alignment.topLeft, end: Alignment.bottomRight)),</code>
        <code>);</code>
<code>return Drawer(</code>
        <code>child: Stack(</code>
      <code>children: <Widget>[</code>
<code>_buildDrawerBack(),</code>
<code>ListView(</code>
          <code>padding: EdgeInsets.only(left: 32.0),</code>
          <code>children: <Widget>[</code>
<code>Container(</code>
              <code>margin: EdgeInsets.only(bottom: 8.0),</code>
              <code>padding: EdgeInsets.fromLTRB(0.0, 16.0, 16.0, 8.0),</code>
              <code>height: 170.0,</code>
              <code>child: Stack(</code>
                <code>children: <Widget>[</code>
<code>Positioned(</code>
                    <code>top: 8.0,</code>
                    <code>left: 0.0,</code>
                    <code>child: Text(</code>
<code>"Lista De Presentes",</code>
                      <code>style: TextStyle(</code>
                        <code>fontSize: 30.0,</code>
                        <code>fontWeight: FontWeight.bold,</code>
                        <code>color: Colors.deepPurple,</code>
                      <code>),</code>
                    <code>),</code>
                  <code>),</code>
<code>Positioned(</code>
                      <code>left: 0.0,</code>
                      <code>bottom: 0.0,</code>
                      <code>child: ScopedModelDescendant<UserModel>(</code>
                        <code>builder: (context, child, model) {</code>
<code>return Column(</code>
                          <code>crossAxisAlignment: CrossAxisAlignment.start,</code>
                          <code>children: <Widget>[</code>
<code>Text("Olá, ${!model.isLoggedIn() ? "" : model.userData["name"]}",</code>
                              <code>style: TextStyle(</code>
                                <code>fontSize: 15.0,</code>
                                <code>fontWeight: FontWeight.bold,</code>
                                <code>color: Colors.deepPurple,</code>
                              <code>),</code>
                            <code>),</code>
<code>GestureDetector(</code>
                              <code>child: Text(</code>
                                <code>!model.isLoggedIn() ?</code>
<code>"Entre ou cadastre-se"</code>
                                <code>: "Sair",</code>
                                <code>style: TextStyle(</code>
                                  <code>color: Colors.deepPurple,</code>
                                  <code>fontSize: 15.0,</code>
                                  <code>fontWeight: FontWeight.bold,</code>
                                <code>),</code>
                              <code>),</code>
                              <code>onTap: () {</code>
<code>if(!model.isLoggedIn())</code>
<code>Navigator.of(context).push(</code>
<code>MaterialPageRoute(</code>
                                      <code>builder: (context) => LoginScreen()),</code>
                                <code>);</code>
<code>else</code>
                           …
New tweet from FlutterDev:

👩&zwj;🎨Get started with CustomPainter!

Have fun with the sample we've created to get started drawing on the canvas. Change the size, opacity, and color of the visualization.

Try out this sample in DartPad &rarr; https://t.co/D1BwJpDm12 pic.twitter.com/4uaphiU211— Dart Language (@dart_lang) December 17, 2019

December 17, 2019 at 05:58PM
http://twitter.com/FlutterDev/status/1206981928995282944
New post on /r/flutterdev subreddit:

Creating Music with Flutter
https://ift.tt/36KKRcz

December 17, 2019 at 09:53PM by Elixane
https://ift.tt/2YZAwqP
New post on /r/flutterdev subreddit:

Offline geolocation using flutter
Hello guys! so I am trying to get a flutter app to pretty much do what the geopoint-location lib does ( https://pub.dev/packages/geopoint_location ) only do it offline. that is - take device geolocation coordinates and output the region name. how would you suggest doing that?From what I understand this geopoint-location package uses some sort of web database to retrieve the region name, since it didn't work if the device is offline.My idea is perhaps try using this package, only connect it to a device storage database (perhaps not storing the entire database but only GETting small chunks of it from the server). since I am new in flutter / dart I'd love to get any input from you guys, thanks!edit: would be cool if you could direct me to resources on how to build / edit / find such a database that holds world regions names and perimeter (be it polygons or whatever).

December 17, 2019 at 09:53PM by BarbDart
https://ift.tt/35AWq64
New post on /r/flutterdev subreddit:

Dart extensions, generating `copyWith` methods
https://ift.tt/34uIUj1

December 17, 2019 at 10:20PM by numen31337
https://ift.tt/38Lgyo2
New tweet from FlutterDev:

🌎Around the world, around the world.🌍

We all have different inspirations. What do you use Flutter for?
#FlutterInteract &rarr; https://t.co/7agMfGCER2 pic.twitter.com/Nq7LhV36Ko— Flutter (@FlutterDev) December 17, 2019

December 18, 2019 at 12:34AM
http://twitter.com/FlutterDev/status/1207081764398612480
New post on /r/flutterdev subreddit:

What is the best backend for Flutter?
I'm doing a project to create a trading platform. After some research, I ended up agreeing on using flutter due to its performance. I was planning to use Laravel as the backend of my application, but it's quite hard because the user wants the application to be real-time.So is there any better backend framework/service for Flutter? I'm willing to learn other language.Thanks reddit, really need help here

December 18, 2019 at 05:18AM by gregory_sykes
https://ift.tt/36LAkxN
New post on /r/flutterdev subreddit:

Getting location while the screen is off.
Hey, I'm developing an app that needs to retrieve the users location and store it for later db writing while the screen is off. Is there any way to do this? Or do I have to do some funky native stuff?

December 18, 2019 at 04:57AM by Keatron--
https://ift.tt/2EvHdao