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

Is path provider getExternalStorage same as getExternalFilesDir?
So it turns out getExternalStorage is deprecated for API 29 and so you should use getExternalFilesDir instead. I printed path_provider getExternalStorage and it seems to point to /storage/emulated/0/Android/data/com.example.myapp/files. Does that mean path_provider getExternalStorage is the same as getExternalFilesDir? Or do I have to write my own getExternalFilesDir?

February 23, 2020 at 04:17AM by SilentK213
https://ift.tt/38XMEgc
New post on /r/flutterdev subreddit:

Flutter Panorama is a 360-degree panorama viewer for Equirectangular Projection images.
https://ift.tt/38SpfN0

February 23, 2020 at 06:44AM by ZebiaoHu
https://ift.tt/2SO6XXw
New post on Flutter Dev Google group:

Re: Python/Java Code in flutter.
Not really, if I'm understanding the context correctly. You can interface with them on the back end for example at some remote address. Maybe if you say some specific context it may be more clear. On Sat, Feb 22, 2020 at 2:29 PM شہریارعظمت صدیقی Sheheryar Azmat Siddiqui < sherry...@gmail.com>

February 23, 2020 at 11:01AM by Ian
https://ift.tt/38VAzb2
New post on /r/flutterdev subreddit:

Line spacing in Text
As far as I know this hasn't been addressed yet. The height parameter of TextStyle affects the first line as well what looks like additional padding. It's not nice when you opt for pixel perfect design. I attempted to develop a workaround using Stack and Positioned with negative top value. It almost succeed, almost because stack suddenly wants to expand, yet Text is a compact widget. I asked my question on stack overflow: https://stackoverflow.com/questions/60350863/flutter-line-spacing-affecting-first-line-problem-with-positioned-widget-as-aDo you have a solution or walk around for that?

February 23, 2020 at 11:08AM by chrisrutkowski
https://ift.tt/38QcpyI
New post on Flutter Dev Google group:

Cipher Code
Can anybody share Playfair Cipher Code implemented in dart?

February 23, 2020 at 11:53AM by شہریارعظمت صدیقی Sheheryar Azmat Siddiqui
https://ift.tt/37Tm0U2
New post on /r/flutterdev subreddit:

BabelEdit: awesome translation editor which supports Google ARB files (Application Resource Bundle) for Dart/Flutter
https://ift.tt/37MlabO

February 23, 2020 at 12:37PM by mono0926
https://ift.tt/38UGFIP
New post on /r/flutterdev subreddit:

Import translations (ARB/Dart) from Google Sheets
https://ift.tt/2PjTdSp

February 23, 2020 at 03:02PM by mgocal
https://ift.tt/38Uj0It
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