Flutter Heroes
25.8K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

Error running Gradle using Android studio
I can't access some library anyone with a solution of how to use that in CN

August 05, 2019 at 12:23AM by Nickname
https://ift.tt/31jQTOS
New post on /r/flutterdev subreddit:

How can I avoid setState?
Hi at all! I have a StatefulWidget which represents my "first activity", just so we understand. I have a ListView, wrapped in a Container. When I scroll down the ListView, the Container's background color changes. I managed to do this effect by settings the background color as a variable, update it through a ScrollListener attached to the ListView, then finally call setState with the new background color value. The problem is that this kills the framerate of my app, since widget tree is going to be recalculated and redrawn every time the scroll changes! There is some trick I can do to avoid this? I tried searching to the death, but I haven't found my solution yet.

August 05, 2019 at 01:26AM by FonzTech
https://ift.tt/2YkWMOG
New post on /r/flutterdev subreddit:

Can I develop Flutter apps only using IntelliJ?
Hello everyone,So over the past few weeks I’ve been deciding whether to learn React Native or Flutter, and I ultimately chose Flutter. As for the IDE, I see a lot of options and I’m not sure which one to pick.The top 3 options I’ve seen are VSCode, Android Studio, and IntelliJ. I’m a big fan of JetBrains tools, and I’m wondering whether it’s possible to develop solely using IntelliJ. I was doing some research and apparently you can use IntelliJ, but Android Studio is almost a requirement. However, the threads I saw were a few years old so I’m wondering whether things are different now, and if I can use IntelliJ for simulating my code, and any other necessary things for developing using Flutter.Any help or advice would be really appreciated. I’m super excited to get started with Flutter!

August 05, 2019 at 05:04AM by cervinakuy
https://ift.tt/2Ym1WtP
New post on /r/flutterdev subreddit:

How to display a list of videos from device storage using ListView & video_player (plugin)?
Hi FlutterDevs,I am building an app that requires me to list videos from the device storage in a list view. I tried using ListView & video_player within each item of the ListView, but the app kept crashing. Could you please point me to any resource to understand and implement this? Thank you.

August 05, 2019 at 06:25AM by onstash
https://ift.tt/2yBZKPl
New post on Flutter Dev Google group:

Test the Android app
I used flutter and webview to call html, but when I open this page, then click on the input box, the app closes directly, or jumps the keyboard.

August 05, 2019 at 09:45AM by heyi fang
https://ift.tt/2MFlGl9
New post on /r/flutterdev subreddit:

(Beginner) Few interrogations for our first Flutter app
(English is not my native language, please excuse my mistakes) I hope this post will also help other beginners overwhelmed by all the stuffs we need to know for creating a fully fledged app.I'm currently learning Flutter + Firestore to create my very first application with a friend. We already have prepared the UX/UI with a prototype and a graphical chart, and the app should be deploy for early 2020.The project is 2 months old and well established but now it's time to get our hands dirty and create the actual app.A little bit of background : We've started programming 4 years ago with Python, then 2 years of C and last year we've done 1 year of C++.I do understand OOP and design pattern, but concept like state management / authentification connected to a database are completely new to us.We want to start our app with a solid architecture. Please feel free to correct me, I'll try to resume everything we need and what we know so far. If you have any valuable ressources or tricks/tips for us, please comment this post.Our app is using a map as the mainpage, and all the connected users are visible on it. Simply put, each user can create a pin to a given location and a description. Nothing fancy (location, date, user name and profile pic + description). Each user login (email or Google or Facebook) and have a profile page with basics informations. The last page is a settings page. The rest of the pages are sign in, help, legal mentions and so on.Choice of map service : Google Maps or Mapbox. - Mapbox is cheaper than Google Maps, and highly customizable, but we have no idea how to show users/pins on it and sync them with Firestore. - Google Maps is easier to implement with Firestore (there is a very good tutorial to use both) but the Flutter package is still beta, and we might be limited for customization. We don't really know which one to use for now, but if I'm able to use Mapbox and Firestore together, the first choice is better for our project. Widgets will be visible on top of the map, using Stack.From what I've read, Provider package + ChangeNotifier is a popular choice for state management so we'll use them. The Flutter doc explains that we should use Statefull widget for UI state (button pressed ect), and a real state management system for authentification / data shared across the app.Firestore is a appealing choice, because it's much easier to use than a proper RESTful API built with node.js / mangoDB for example (which is scary for us !). Plus since it's own by Google, implentation with Flutter should be easy. There is also a lot of tutorials w/ Flutter, so this is our choice now.After browsing recommended Flutter projects on GitHub and reading Medium articles, most of the projects use two mains folders in /lib which are /screens (mappage,profilepage,settings,loginpage) And /widgets (buttons, alert menus ...) There is also /services for all the logic to connect with the database. I don't know if we need a folder for state since Provider+Notifier is directly implemented within the widgets.We still have a lot to learn and to practice, but our biggest obstacles for now are authentification and syncing users on the map; It's still very blurry in our heads.

August 05, 2019 at 11:25AM by Kadarach
https://ift.tt/2yDcDJ5
New post on Flutter Dev Google group:

Please can anybody help me on this
Please help me, Its been a month since dealing with the issue https://ift.tt/2GJxK0N

August 05, 2019 at 01:57PM by mahantappa b k
https://ift.tt/33eMBd4
New post on /r/flutterdev subreddit:

What are the blogs you follow?
Hey everybody!
Are there any other dev blogs (besides Medium) you often visit or find useful?

August 05, 2019 at 02:06PM by Gigatronbot
https://ift.tt/2Kq1VLG
New post on /r/flutterdev subreddit:

Reordering items in a listview builder
I have a list view builder that builds the list, from a persistent local SQFLite database, whenever the app is started. One can add more items to the list and the listview is updated using setState to reflect the changes and the new item is added to the SQFLite database as well. Also, every item in the SQFLite database is given a unique Id. I'd now want to implement a way so that it's possible to rearrange the items of the listview and make it possible to reorder them by moving them up or down the list by holding and dragging them. On reordering them, it would be relatively easy to update their positions on the database but how should the actual dragging, dropping and reordering be done in the listview builder?The ReorderableListView class can be used to reorder lists that are relatively small and don't work with listview builders. So how can this be achieved when the list is relatively large and is built using a ListView builder?

August 05, 2019 at 03:49PM by madebyayan
https://ift.tt/2T7s99K
New tweet from FlutterDev:

💸Want to accept payments in your Flutter app?

Check out the @Square in-app payments plugin to get started! @Square released a video walking through the details of how to incorporate @Square payments into your Flutter app.

Watch here → https://t.co/K0RLgfiRFW pic.twitter.com/2l18h8U7eA— Flutter (@FlutterDev) August 5, 2019

August 05, 2019 at 06:05PM
http://twitter.com/FlutterDev/status/1158408796877860866
New post on /r/flutterdev subreddit:

A Flutter package to parse text and extract parts using predefined types like url, phone and email and also supports Regex.
https://ift.tt/2T8cR4A

August 05, 2019 at 08:59PM by boss-san
https://ift.tt/33aAy0w