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

Flutter Tutorial - Flutter ExpansionTile
http://bit.ly/2ViNRs0

December 31, 2018 at 01:16AM by whatsupcoders
http://bit.ly/2GLy5mb
New post on /r/flutterdev subreddit:

Use custom DNS server for HTTP requests?
http://bit.ly/2SoDCAp

December 31, 2018 at 03:58AM by superl2
http://bit.ly/2EXhhpS
New post on /r/flutterdev subreddit:

What is not possible (or not a good user experience) in Flutter so far?
Things like ApplePay, etc?

December 31, 2018 at 04:54AM by nothing_to_feel_here
http://bit.ly/2EYlv09
New post on /r/flutterdev subreddit:

Bottom Tab Animation
I found another Dribbble design I wanted to make in Flutter, my last post was well received and I had some free time, so here's the final result, blog, and code:​https://i.redd.it/9ghy325urk721.gif​Blog here:https://medium.com/@tonyowen/flutter-bottom-tab-bar-animation-75d1ca58c096Code here:https://github.com/tunitowen/tab_bar_animationDribbble design here:https://dribbble.com/shots/5419022-Tab

December 31, 2018 at 09:37AM by tunitowen
http://bit.ly/2SrRfyP
New post on /r/flutterdev subreddit:

<b>A bug?? an error? what is it? how to fix it???</b>
this is my code&#8203;<strong>import</strong> 'dart:convert';
<strong>import</strong> 'package:flutter/material.dart';
<strong>import</strong> 'package:http/http.dart' <strong>as</strong> http;
<strong>void</strong> main() => runApp(MyApp());
<strong>class</strong> MyApp <strong>extends</strong> StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
<strong>class</strong> _MyAppState <strong>extends</strong> State<MyApp> {
String geturl = "http://localhost:5984/yolo/_all_docs?include_docs=true";
List Data;
String k;
Future<String> makeRequest() <strong>async</strong> {
String username = 'vaishakmusic';
String password = 'yolo641234';
String basicAuth =
'Basic ' + base64Encode(utf8.encode('$username:$password'));
<strong>var</strong> response = <strong>await</strong> http.get(Uri.<em>encodeFull</em>(geturl),
headers: {"Accept": "application/json", "authorization": basicAuth});
setState(() {
<strong>var</strong> extractedData = json.decode(response.body);
Data = extractedData["rows"];
k = Data[0]["doc"]["homeTeam"]["team"];
});
}
@override
<strong>void</strong> initState(){
<strong>this</strong>.makeRequest();
}
@override
Widget build(BuildContext context) {
<strong>return</strong> MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text("hello"),
),
body: Center(
child: Text(
k
),
),
),
);
}
}&#8203;this is my error&#8203;&#8203;Performing hot restart...Syncing files to device iPhone 8 Plus...Restarted application in 3,436ms.flutter: &#9552;&#9552;&#9569; EXCEPTION CAUGHT BY WIDGETS LIBRARY &#9566;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;flutter: The following assertion was thrown building MyApp(dirty, state: _MyAppState#9c5b5):flutter: 'package:flutter/src/widgets/text.dart': Failed assertion: line 235 pos 15: 'data != null': is notflutter: true.flutter:flutter: Either the assertion indicates an error in the framework itself, or we should provide substantiallyflutter: more information in this error message to help you determine and fix the underlying cause.flutter: In either case, please report this assertion by filing a bug on GitHub:flutter: <a href="https://github.com/flutter/flutter/issues/new?template=BUG.md">https://github.com/flutter/flutter/issues/new?template=BUG.md</a>flutter:flutter: When the exception was thrown, this was the stack:flutter: #2 new Text (package:flutter/src/widgets/text.dart:235:15)flutter: #3 _MyAppState.build (package:getandpost/main.dart:49:18)flutter: #4 <a href="https://StatefulElement.build">StatefulElement.build</a> (package:flutter/src/widgets/framework.dart:3809:27)flutter: #5 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3721:15)flutter: #6 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)flutter: #7 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3701:5)flutter: #8 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3848:11)flutter: #9 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3696:5)flutter: #10 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2950:14)flutter: #11 Element.updateChild (package:flutter/src/widgets/framework.dart:2753:12)flutter: #12 RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:909:16)flutter: #13 RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:880:5)flutter: #14 RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:826:17)flutter: #15 BuildOwner.buildScope…
New post on Flutter Dev Google group:

Flutter infinite/long list - memory issue and stack overflow error
Hi there, My use case is to create a list view of articles (each item have the same look, there could be huge amount of articles, e.g. > 10000). I tried with - ListView with ListView.builder: it supposes only to render the item when the item is displayed - ScrollController: to determine when to

December 31, 2018 at 03:01PM by Zhe Xiao
http://bit.ly/2Am3qX2
New post on /r/flutterdev subreddit:

Starting out - where to start?
Hi guys,I am in the early phases of learning dart and flutter, and I have no prior experience with coding at all. I have wanted to learn for some time, but I had no objective to focus on until now.I have been trawling YouTube and various other sites for guidance, and I was wondering if any of you have any good resource suggestions on where to start out?Edit:I have installed the following already: Android Studio, Visual Studio, GitBash, and I have been playing around with the basic app in the emulator, but I am getting stumped on much of the jargon. Early days!

December 31, 2018 at 03:02PM by memeotis
http://bit.ly/2TiffUY
New post on /r/flutterdev subreddit:

Flutter 2018 Recap – Flutter Community – Medium
http://bit.ly/2TijMGZ

December 31, 2018 at 05:28PM by Nash0x7E2
http://bit.ly/2CGKROB
New post on Flutter Dev Google group:

add2App for a team - local.properties
Does anyone have experience with add2app for a mixed team? What I have is 1) Existing large iOS repo 2) Existing large Android repo (with useLibrary 'org.apache.http.legacy" and extending MultidexApplication) What I am trying to accomplish is: 1) Minimal changes to existing Android and iOS repos

December 31, 2018 at 06:10PM by Neil Warner
http://bit.ly/2Vj2QSA
New post on Flutter Dev Google group:

Listview Animation while Scrolling
Hi - I would like to animate some items in a list view while scrolling, but it's very choppy and not smooth. Is there something I am doing wrong.? import 'dart:ui'; import 'package:flutter/animation.dart'; import 'package:flutter/material.dart'; import 'menu-items.dart'; void main() =>

December 31, 2018 at 06:47PM by Claude Grecea
http://bit.ly/2EYbGQX
New post on /r/flutterdev subreddit:

Packt Pub has Byan and Max's amazing Dart/Flutter courses for only $5, what would have cost $11 each on Udemy
Almost dropped $66 bucks on grabbing all of Bryan's course on udemy (already bought max's course from udemy before finding out about Packt Pub). All their courses were $10.99 each for me udemy with their last "discount", but those same courses are also on Packt Pub for only $5 each.. DRM free too. Ended up just grabbing a year sub for $99 since I would have spent $66 buying all of bryan's courses anyway, have discovered lot of other unexpected goodies too like the learning paths and projects. I'd at the very least consider grabbing the courses you would have paid $11 for on udemy for $5 on packt.Happy New Year's and programming guys :)https://www.packtpub.com/

December 31, 2018 at 05:38AM by lemon07r
http://bit.ly/2BS65aG
New post on /r/flutterdev subreddit:

How would you create a draggable interactive menu like the share menu in flutter?
http://bit.ly/2BWziRM

December 30, 2018 at 08:40PM by richie_south
http://bit.ly/2QXKAzL
New post on /r/flutterdev subreddit:

Found a good article explaining some state management options and their differences (BLoC, Redux, ScopedModel, and StatefulWidgets)
http://bit.ly/2TiFBWV

December 31, 2018 at 10:40PM by lemon07r
http://bit.ly/2EXTFBj
New post on Flutter Dev Google group:

Creating a list of List Tiles from and async function.
Code below returns an error. I am thinking that I am using the .add function incorrectly when trying to add a ListTile to the List variable(playerList). I know that it is retuning the user because the print works. (commented out now) Future> _getPlayers() async {

January 01, 2019 at 02:01AM by Brennan Altringer
http://bit.ly/2CHM6NH
New post on /r/flutterdev subreddit:

Flutter/Dart unit test - tolerance with "expect"?
I'm playing with pure Dart unit tests in my Flutter app (brand new to unit testing). I'm testing calculation results using "expect". For one case, I'm expecting a result of 5.1 and the exact calculated value is 5.094000000000001 and the test fails. Ok.Is there a way to test for a range or add an acceptable tolerance?

January 01, 2019 at 02:25AM by mraviator9
http://bit.ly/2Qgl7wf