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

Cannot get Flutter working on Ubunutu 18.04
I just sat down to try flutter out today and no matter what I've tried I can't get it working. I started by cloning out the repo, and then did a flutter doctor command, hoping it would work. The output looked something like this:
~/Development/Flutter$ flutter doctor Downloading Dart SDK from Flutter engine 7375a0f414bde4bc941e623482221db2fc8c4ab5... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 49.3M 100 49.3M 0 0 25.2M 0 0:00:01 0:00:01 --:--:-- 25.2M Building flutter tool... Downloading Material fonts... 1.1s Downloading package sky_engine... 0.5s Downloading common tools... 0.7s Downloading linux-x64 tools... 1.4s Downloading android-arm-profile/linux-x64 tools... 0.7s Downloading android-arm-release/linux-x64 tools... 0.7s Downloading android-arm64-profile/linux-x64 tools... 0.7s Downloading android-arm64-release/linux-x64 tools... 0.7s Downloading android-arm-dynamic-profile/linux-x64 tools... 0.6s Downloading android-arm-dynamic-release/linux-x64 tools... 1.1s Downloading android-arm64-dynamic-profile/linux-x64 tools... 0.8s Downloading android-arm64-dynamic-release/linux-x64 tools... 0.6s Downloading android-x86 tools... 0.9s Downloading android-x64 tools... 1.1s Downloading android-arm tools... 0.7s Downloading android-arm-profile tools... 0.7s Downloading android-arm-release tools... 0.7s Downloading android-arm64 tools... 0.9s Downloading android-arm64-profile tools... 0.7s Downloading android-arm64-release tools... 0.6s Downloading android-arm-dynamic-profile tools... 0.8s Downloading android-arm-dynamic-release tools... 0.6s Downloading android-arm64-dynamic-profile tools... 0.8s Downloading android-arm64-dynamic-release tools... 0.8s Downloading Gradle Wrapper... 0.4s Doctor summary (to see all details, run flutter doctor -v): [!] Flutter (Channel beta, v1.0.0, on Linux, locale en_US.UTF-8) ✗ Downloaded executables cannot execute on host. See https://github.com/flutter/flutter/issues/6207 for more information On Debian/Ubuntu/Mint: sudo apt-get install lib32stdc++6 On Fedora: dnf install libstdc++.i686 On Arch: pacman -S lib32-libstdc++5 [✓] Android toolchain - develop for Android devices (Android SDK 28.0.3) [✓] Android Studio (version 3.2) [✓] Connected device (1 available) ! Doctor found issues in 1 category. 
So to try and fix it I just did the recommended sudo apt-get install lib32stdc++6. Which outputs like this:
Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: lib32stdc++6 : Depends: gcc-8-base (= 8.2.0-1ubuntu2~18.04) but 8.2.0-12 is to be installed Depends: lib32gcc1 (>= 1:4.2) but it is not going to be installed Depends: libc6-i386 (>= 2.18) but it is not going to be installed E: Unable to correct problems, you have held broken packages. 
I have tried everything I could find online to resolve this.apt-get update,removing my /etc/apt/sources.list file and having it recreated using the gtk-software-manager.apt-get autoclean,apt-get autoremove.aptitude install lib32stdc++6NOTHING is fixing it. Can someone please help me address this? I"d really like to give this a shot

January 02, 2019 at 11:53PM by StickWithTheScholars
http://bit.ly/2Rxq08E
New post on Flutter Dev Google group:

Flutter tar.gz contains .git folder
I am not sure if this is the right place to share this, but when I downloaded Flutter for the first time now I saw there is a .git folder inside which is a 40+MB large.

January 03, 2019 at 12:34AM by Yohana Khoury
http://bit.ly/2SySEUf
New post on Flutter Dev Google group:

Flutter Share Plugin
Can someone explain to me this plug-in? I see that you can invoke share and share assuming to the phones native sharing capabilities but can I provide an image in addition to a description for user to share? Or because it is so new that just isn't possible yet. http://bit.ly/2F3BhYK

January 03, 2019 at 07:43AM by Brennan Altringer
http://bit.ly/2F3qooU
New post on Flutter Dev Google group:

customizing PaginatedDataTable
[image: Screenshot from 2019-01-03 15-44-41.png] I am looking for ways to customize PaginatedDataTable. For example, I would like to remove the select check box as I plan to put favorite button instead to add to favorite list. Is it possible?

January 03, 2019 at 08:50AM by oreazamu
http://bit.ly/2TrKGwk
New post on Flutter Dev Google group:

Every previous screens rebuilding in the background when I navigate to child screen
Hi, I am new to Flutter. I created a list and detail screens and each screen fetching data from servers via rest api. I am using FutureBuilder for fetching data on list screen and GestureDetector for navigating to detail screen. When I click to list item on list screen, detail screen opening

January 03, 2019 at 11:36AM by Mesut Taşçı
http://bit.ly/2Szy3iK
New post on Flutter Dev Google group:

Typo in tutorial
I found a typo here: http://bit.ly/2LNjg1c exactly in "Step 2 - Enable obfuscation and/or minification" Actually there is: Open /android/app/build.gradle file and locate buildTypes definition. Inside release configuration set minif*i*yEnabled and useProguard flags to true.

January 03, 2019 at 11:46AM by Michał Jabłoński
http://bit.ly/2s9QCys
New post on Flutter Dev Google group:

Update specific widget
I have some widgets on single screen and I want to update specific widget ontap of another widget. How to achieve it without redrawing complete screen or without building all the widgets.

January 03, 2019 at 12:49PM by sumeet kasar
http://bit.ly/2BVxpFc
New post on /r/flutterdev subreddit:

Flutter Experiment with Canvas and Blendmode to animate between images
Source code: https://github.com/starterboost/flutter_canvas_experiment2Video: https://youtu.be/mQUvvj43B_0This was a useful exercise to help me understand how to draw images in Flutter. Drawing in Flutter Canvas is significantly different to HTML Canvas, this appears to be very efficient and allows for smooth animations.

January 03, 2019 at 02:38PM by starterboost
http://bit.ly/2F5iHzg
New post on Flutter Dev Google group:

test internet Connectivity
Basically i want to show a dialog about the internet connectivity when i launch the application but the dialog needs a context and if i want to show dialog in initstate before MaterialApp i dont have any context is there any turn around or solution for this . > this is my flutter doctor -v >

January 03, 2019 at 03:01PM by kadri.moh...@gmail.com
http://bit.ly/2F9aolr
New post on Flutter Dev Google group:

Is there any to set http request with socks5 proxy
Is there any to set http request with socks5 proxy

January 03, 2019 at 08:52PM by zxcv sq
http://bit.ly/2F5xr0g
New post on /r/flutterdev subreddit:

Highlight widgets and display some text?
Is it possible in Flutter to use something like the ShowcaseView for Java/Android?With that library, the app will go through a series of steps highlighting controls, to let the user know how to use the app.I'm looking for something to help explain to users what, for example, all of my FloatingActionButtons do...

January 04, 2019 at 01:26AM by CovertDad
http://bit.ly/2Qj8Yqg
New post on Flutter Dev Google group:

Dynamically build pages in a PageView
I need some suggestions on how to use the PageView. I have an online project that allows users to build custom forms, complete with conditions that hide or show questions depending on the answers in other questions. The mobile project allows users to fill out these forms. I've been playing with

January 04, 2019 at 04:10AM by Chris Robison
http://bit.ly/2QlATWG
New post on /r/flutterdev subreddit:

Flutter Build Apk --release only works on arm
When I use the command flutter build apk --release it releases an apk that only works for arm devices , there is a way that worked for me for arm64 devices which is flutter build apk --release --target-platform --android-arm64 ,but this way I will have two APKs , is there a way to release one apk that works on both platforms or the app bundle to upload both of these apks to play store ?

January 04, 2019 at 04:10AM by mobiusomniverse
http://bit.ly/2F5nnFw
New post on Flutter Dev Google group:

Regarding flutter code
Hello everyone, [image: Screen Shot 2019-01-04 at 12.09.08 PM.png] I am using MacBook Air and visual studio code for Flutter App development but I am facing an issue with flutter run /flutter doctor or code is not being debugged .i.e code line appearing in white line and not showing any error .

January 04, 2019 at 07:44AM by rakesh lorentz
http://bit.ly/2R4NhiS