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

The method 'charAt' isn't defined for the class 'String'--- Solution to this problem
String generateKey(String str, String key) { int x = str.length; for (int i = 0; ; i++) { if (x == i) i = 0; if (key.length == str.length) break; key+=(key.charAt(i)); } return key; }

February 23, 2020 at 04:23PM by شہریارعظمت صدیقی Sheheryar Azmat Siddiqui
https://ift.tt/2HPcxmc
New post on /r/flutterdev subreddit:

Current GDE
Is there a current GDE here who can refer me for the program? I have been using flutter since it's beta and am currently hosting a course for flutter in my college for over 2-3 months now and will continue to do so till I graduate. I also hosted a 1 day workshop before a 24 hour hackathon in order to teach the participants about flutter so that they could use it to some extent in the hackathon. I don't have any contacts in Google or in tech in general and wanted to know what it takes to become a GDE and maybe prepare towards it gradually if I'm not eligible for it right now. Any contacts , email anything whatsoever will be appreciated, thank you!

February 23, 2020 at 04:12PM by Grey-Winds
https://ift.tt/2Pjjz70
New post on /r/flutterdev subreddit:

Mac menubar app with flutter
Hello,Flutter now has desktop support. I am looking to build a menubar app for Mac.I have seen a few examples of desktop apps built with Flutter, but none was a menubar app. I want to confirm if it's possible before I go further into learning flutter.thanks,

February 23, 2020 at 06:25PM by AppleSplit
https://ift.tt/37TY2YO
New post on /r/flutterdev subreddit:

Packages
What dart packages would you like to see in flutter , anything which you reckon is missing and can be pretty useful?

February 23, 2020 at 06:24PM by Grey-Winds
https://ift.tt/39YtCWQ
New post on /r/flutterdev subreddit:

Listtile Multi-select - Flutter Firestore Streambuilder
i need help to build a quiz app with flutter, i use firestore for my data, and i want to add a multi choices question, so when a user tap on one choice, this one is highlighted, like this examplehttps://i.stack.imgur.com/Y449r.gifthis is my code :
Widget _buildListItem(BuildContext context, DocumentSnapshot document) { return ListTile( title: Container( margin: EdgeInsets.all(8.0), padding: EdgeInsets.fromLTRB(210, 0.0, 0.0, 0.0), decoration: BoxDecoration( color: Colors.white, border: Border.all( color: Colors.pink[800], // set border color width: 3.0), // set border width borderRadius: BorderRadius.all( Radius.circular(10.0)), // set rounded corner radius boxShadow: [ BoxShadow( blurRadius: 5, color: Colors.black, offset: Offset(0.5, 1)) ] // make rounded corner of border ), child: Row( children: <Widget>[ Container( child: Text( document['rep'], style: TextStyle( fontSize: 50.0, color: Colors.black, ), ), ) ] ), ), onTap: () { Firestore.instance.runTransaction( (transaction) async { DocumentSnapshot freshSnap = await transaction.get(document.reference); await transaction.update(freshSnap.reference, { 'votes': freshSnap['votes'] + 1, }); }); }, ); @override Widget build(BuildContext context) { return Scaffold( body: Container( child: StreamBuilder( stream: Firestore.instance.collection('questions').snapshots(), builder: (context, snapshot) { if (!snapshot.hasData) return const Text('Loading ...'); return ListView.builder( padding: EdgeInsets.fromLTRB(50.0, 300.0, 50.0, 0.0), itemExtent: 100.0, itemCount: snapshot.data.documents.length, itemBuilder: (context, index) => _buildListItem(context, snapshot.data.documents[index]), ); }), ), floatingActionButton: FloatingActionButton( onPressed: () { Navigator.push( context, MaterialPageRoute(builder: (context) => new Home())); }, child: Text("Home"), ), ); Thank you for your help 


February 23, 2020 at 07:52PM by shoppapa
https://ift.tt/2Pg0suE
New post on Flutter Dev Google group:

Kindly check why this code snipet no working?
I want to create a new list and want to copy the content of old one, but I am getting Uncaught TypeError: C.JSNull_methods.$indexSet is not a functionError: TypeError: C.JSNull_methods.$indexSet is not a function void main() { String message = "mymessage"; String k = "how"; var key =

February 23, 2020 at 08:22PM by شہریارعظمت صدیقی Sheheryar Azmat Siddiqui
https://ift.tt/2Pfvjan
New post on /r/flutterdev subreddit:

Converting Dart 1 package to Dart 2
Hi. So I've been experimenting with Flutter for a while and have been working on a Stock market simulation type app as a side project. I started searching for APIs to get Stock data with a time series (for cheap) that I can graph with. I came across AlphaVantage.co but their JSON seems too complex, so I searched and found this package for AlphaVantage but it seems as though it's outdated. Would it be worth it to try and update it to Dart 2?I don't have experience with making Packages and I've done a lot of Googling around for Stock Market APIs or packages made specifically for Flutter to no avail.Any feedback would be appreciated. Thanks!

February 24, 2020 at 12:25AM by Basilzubs
https://ift.tt/37TfYD4
New post on /r/flutterdev subreddit:

What youre first struggles with Flutter?
I am making an flutter app as my first project. I study for an Bsc but have not as much with practical programming. I have some beginner issues about designing the app and I have a lack of knowledge about most widgets. What are some struggles you have got and how did you get around it?

February 23, 2020 at 11:57PM by henkiespenkie44
https://ift.tt/2PkivzF
New post on /r/flutterdev subreddit:

Thoughts on using flutter to make portfolio website?
I am aware that flutter web is in beta but I am still considering it to make my portfolio website.I have no interest in web dev and I don't want to learn something new just to build a portfolio website.Should I go ahead and build it in flutter or find some easy template to use?If you have used flutter for website, can you also share some problems you faced?

February 24, 2020 at 04:06AM by iamyashx
https://ift.tt/3c41iUQ
New post on /r/flutterdev subreddit:

Flutter testing
What kind of an app would be the best to demonstrate different types of testing(unit,widget and integrated)?

February 24, 2020 at 03:57AM by Fawazhussain
https://ift.tt/38TdzK3
New post on /r/flutterdev subreddit:

Which method you guys use to consume REST api?
StreambuilderFuturebuilderProvider

February 24, 2020 at 03:36AM by Fienases
https://ift.tt/2SR3U0M
New post on Flutter Dev Google group:

GeneratedPluginRegistrant.java cannot resolves symbols for flutter plugins
This looks like a config generation issues, a java classpath issue, perhaps. Build fails. Steps to Reproduce Create a flutter project, include dependencies: sqflite: any path_provider: 0.4.0 url_launcher: 3.0.0 GeneratedPluginRegistrant.java contains imports for which symbols cannot be

February 24, 2020 at 04:43AM by Kevin Musungu
https://ift.tt/2vVywFA
New post on /r/flutterdev subreddit:

Introducing AutoTrie v0.3.1: Hive Integration and Recency Subsorting
AutoTrie is my brainchild, a Dart/Flutter autocompletion engine with support for popularity sorting and recency subsorting. I added Hive integration and the aforementioned recency subsorting to better integrate the package into existing projects. I've also updated the API docs to be fairly thorough.https://pub.dev/packages/autotriehttps://github.com/AKushWarrior/autotrie

February 24, 2020 at 07:20AM by AKushWarrior
https://ift.tt/3c4lciL
New post on /r/flutterdev subreddit:

Flutter Interview Questions
https://ift.tt/2TaxCgb

February 24, 2020 at 07:19AM by flutter_tutorial
https://ift.tt/39Y0wqD
New post on /r/flutterdev subreddit:

Time Zone Picker Package
Hey guys i was using this for my personal project. Just thought i would release it for anyone who wants to use it. An attempt to mimic googles time zone picker. Sort of. Feel free to leave feedback.​https://github.com/hnkhandev/time_zone_picker

February 24, 2020 at 07:05AM by fd991
https://ift.tt/32lWghY
New post on /r/flutterdev subreddit:

Official Flutter Slack?
It would be amazing to have a place to get advice and discuss various Flutter-related topics with other Flutter enthusiasts. Great example of something similar would be famous now Kotlin Slack.With all due respect to all other community platforms like Gitter and Discord, Slack is far more superior and convenient to use with threads and integrations. Also, I have tried Discord, but it's very difficult to discuss any topics there without threads, so either you don't get an answer to your question at all or it gets lots behind other people discussing something else in the channel.Would be great to see official flutter community in Slack too.

February 24, 2020 at 10:26AM by aaverin
https://ift.tt/2HSe1w9
New post on Flutter Dev Google group:

how to implement photo editing
i want to showing filter, add text on top image, show sticker or emojis and add them on image. could you please help me on this ?

February 24, 2020 at 12:11PM by laxman ram
https://ift.tt/2v1PJNy