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

How does Flutter secure it's source code once your apps are released?
If I make a Swift/ObjC iOS app and release it, it goes out as a zip file and you can decompile it down to very hard to read .asm code and IIRC all the var names are scrambled.Basically, it's pretty hard to make much use of it.So what does Flutter go out as and how do you decompile it? I get that it's not compiled, it's runtime interpreted, so does that mean they get 100% usable code? Kinda like looking at a webpage's code... you see all they've done?If that's the case, what would stop someone from downloading any given app and having all the code for it?

January 01, 2020 at 03:22AM by KarlJay001
https://ift.tt/2sEg6HT
New post on /r/flutterdev subreddit:

is flutter really cluttered?
i am trying to switch to FLUTTER but i sill get concerned about how many people say it's code is really cluttered and unmanageable and some developer will even come up with nicknames like CLUTTER for it, by looking at code which looks like this https://pastebin.com/hpr9YSre it seems they are right! but i just wanted to ask here if this is the case or there are work a way around it, because sometimes people talk about problems without knowing they can easily be solved!

January 01, 2020 at 09:59AM by Hiwa_47
https://ift.tt/2Qc7TDV
New post on /r/flutterdev subreddit:

Best Course on Udemy to start learning Flutter?
Hello everyone! I am not totally new to programming but am new to Dart which I hear is what is used to develop in Flutter. I have most of my experience in Java, C++, and some Python too. I am considering purchasing one of the courses taught by Stephen Grider, Angela Yu, or Max Schwarzmuller. Is there any general consensus on which of the three is the best one? Let me know if any comments/suggestions you guys have before purchasing one of the three. Thanks!

January 01, 2020 at 10:19AM by therealopm
https://ift.tt/2N0Q5d5
New post on Flutter Dev Google group:

my personal device isn't recognized / displayed
Hey Guys, today I wanna try my first app with my personal device. But it didnt got recognized. So that means I cant test my app. My device isnt displayed on my explorer/hard disks as well.. So do u have any suggestions what can I do to fix that.

January 01, 2020 at 02:13PM by Trite
https://ift.tt/2QgKUHC
New post on /r/flutterdev subreddit:

Issues Running Flutter in physical iOS Device
Basically what the title says. I started a project and it’s able to run on Android Emulators and iOS simulators but it crashes on a real iOS device after startup.Link here to the GitHub issue: IssueBasically with the latest flutter Sdk I’m unable to load the Flutter Framework.Anyone experienced this as well?

January 01, 2020 at 05:11PM by sportsbum69
https://ift.tt/2QepsTJ
New post on Flutter Dev Google group:

Formatting Date And Time In Flutter During Return Type
Hi, I have created fun: *HomeScreen*() which extends to HomeScreenState(). I have used *HomeScreenState*() to return Timing And Date. But the issue is I'm unable to format time for* HH:MM (am or pm) *and date to *DD/MM/YYYY.* _currentTime(){ return "${DateTime.now().hour} : ${DateTime.now().minu

January 01, 2020 at 06:23PM by Koustubha Bharadvaj
https://ift.tt/2sCpETT
New post on /r/flutterdev subreddit:

Why can't you mix Dart with Flutter code?
I want to run a for loop inside a Column widget and then call my function buildKey() with a parameter passed to it. But I can't. Why is this illegal in Flutter?
import 'package:audioplayers/audio_cache.dart'; import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { Expanded buildKey(int keyp) { return Expanded( child: FlatButton( color: Colors.red, onPressed: () { final player = AudioCache(); player.play('note$keyp.wav'); }, ), ); } @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: SafeArea( child: Column( children: <Widget>[ for (var i=1;i<6;i++) { buildKey(i); } ], ), ), ), ); } } 


January 01, 2020 at 08:19PM by bsd44
https://ift.tt/36hRzH8
New post on /r/flutterdev subreddit:

Updated My Flutter Hive / Provider Example. Persistent storage with Hive. State management with Provider.
https://ift.tt/36nuDqG

January 01, 2020 at 05:43AM by boon4376
https://ift.tt/2u5A5j3
New post on /r/flutterdev subreddit:

New Powerful Flutter Plugin localize_and_translate
localization and translation was never easier, simple way to translate your flutter apps and make it international​Methods:| `currentLanguage` | `locale` | `init()` | `translate(word)` | setNewLanguage('en')` | locals()​​How To Useadd `localize_and_translate: ^<latest>` to pubspec.yaml dependenciesrun `flutter pub get` into root dir of the appadd `import 'package:flutter_localizations/flutter_localizations.dart';` to use `GlobalMaterialLocalizations.delegate`add `import 'package:localize_and_translate/localize_and_translate.dart';` to use plugin :grin:wrap app entry into `LocalizedApp()`, and make sure you define it's child into different place "NOT INSIDE"runApp(LocalizedApp(child: MyApp(),),);convert your `main()` method to async, we will need nextadd `WidgetsFlutterBinding.ensureInitialized();` at very first of `main()`inside `main()` define your languagesLIST_OF_LANGS = ['ar', 'en'];add `.json` translation files as assets* For example : `'assets/langs/ar.json'`| `'assets/langs/en.json'* structure should look like{"appTitle" : "Example","buttonName" : "التحول للعربية",}{"appTitle" : "تجربة","buttonName" : "English",}* define them as assets into pubspec.yamlflutter:assets:- assets/langs/en.json- assets/langs/ar.json* run `flutter pub get`* into `main()` define your root directoryLANGS_DIR = 'assets/langs/';intialize plugin `await translator.init();`* so now your `main()` should look like thisFuture<void> main() async {// if your flutter > 1.7.8 : ensure flutter activatedWidgetsFlutterBinding.ensureInitialized();​LIST_OF_LANGS = ['ar', 'en']; // define languagesLANGS_DIR = 'assets/langs/'; // define directoryawait translator.init(); // intialize​runApp(LocalizedApp(child: MyApp(),),);}​define your `LocalizedApp()` child as `MaterialApp()` like thisclass MyApp extends StatefulWidget {u/override_MyAppState createState() => _MyAppState();}​class _MyAppState extends State<MyApp> {u/overrideWidget build(BuildContext context) {return MaterialApp(home: Home(), // re RoutelocalizationsDelegates: [GlobalMaterialLocalizations.delegate,GlobalWidgetsLocalizations.delegate,],locale: translator.locale,supportedLocales: translator.locals(),);}}​enjoy like next example* we use `translate(word)`* `setNewLanguage(languageCode)` : and it's parametersclass Home extends StatefulWidget {u/override_HomeState createState() => _HomeState();}​class _HomeState extends State<Home> {u/overrideWidget build(BuildContext context) {return Scaffold(drawer: Drawer(),appBar: AppBar(title: Text(translator.translate('appTitle')),// centerTitle: true,),body: Container(width: double.infinity,child: Column(crossAxisAlignment: CrossAxisAlignment.center,children: <Widget>[SizedBox(height: 50),Text(translator.translate('textArea'),style: TextStyle(fontSize: 35),),SizedBox(height: 150),OutlineButton(onPressed: () {translator.setNewLanguage(context,newLanguage: translator.currentLanguage == 'ar' ? 'en' : 'ar',remember: true,restart: true,);},child: Text(translator.translate('buttonTitle')),),],),),);}}​## Complete Examplehttps://github.com/MohamedSayed95/localize_and_translate/tree/master/example

January 01, 2020 at 10:32PM by m_sayed
https://ift.tt/2rKKobA
New post on /r/flutterdev subreddit:

Documentation for using cloud firestore with flutter?
I am fairly new to flutter and app development, so I apologize if I am missing something here, but I am having some trouble finding a "complete" documentation for using cloud firestore with flutter. I've mainly only found steps for setting up firebase and examples, but when it comes to the actual database management in Cloud Firestore I couldn't find anything about Flutter. For example, I found this:https://firebase.google.com/docs/firestore/query-data/get-databut the code snippets don't contain anything for the Dart language. If you guys are aware of a comprehensive documentation or tutorial for using firestore with flutter out there please let me know.Thanks!

January 02, 2020 at 01:19AM by SaintPablo22
https://ift.tt/36gJp1X
New post on Flutter Dev Google group:

Select data based on month and year
We storing date as String in column created_at by below format 2019-10-09T15:29:28.000+08:00in Moor. We would like to write a select query, to retrieve data where month are October and year is 2019. Future
New post on /r/flutterdev subreddit:

Does anyone know of a good tutorial that step-by-step has you build an app that's simple, but has all the scaffolding and boilerplate of a production sized app?
When I first learned React one of the most valuable tutorials I used was Brad Traversy's "MERN Stack Front To Back" on Udemy. In it he sets up React with routing, Redux and Thunk, using a folder structure that could scale with the size of the web app you're making.I found myself going back to that project time and again as a starting point: Maybe I wanted to use Sagas instead of Thunk. Maybe I evolved in the way that I wanted to lay out things. However having that full starting point was a fantastic jumping off point to building lots of different things.With Flutter, so far, the majority of tutorials I've come up against are "Startup Name Generators" or Todo list apps that barely deal with routing or State at all.To be fair, I've barely scratched the surface on available learning materials and tutorials, but I figured it might be faster/easier to just ask if anyone here knows of a good tutorial/Udemy course/video series like the one I'm describing.

January 02, 2020 at 05:21AM by mca62511
https://ift.tt/2QdVMGr
New post on Flutter Dev Google group:

Need help on Geolocation related query
Hello We are developing an app that is based on geolocation. so first we need to get geolocation. for this I have used https://ift.tt/2QCezKC this library and according to my knowledge this is only one right now. It's still in under development. It's take time to get

January 02, 2020 at 08:09AM by Snehal Bhatt
https://ift.tt/2Fp68x7
New post on /r/flutterdev subreddit:

Easy And Powerful Flutter Plugin For Localization And Translation
https://ift.tt/2MNzBoy

January 02, 2020 at 09:14AM by m_sayed
https://ift.tt/2QC8r4R
New post on /r/flutterdev subreddit:

Getter And Setter VsCode Extension - Generates Getters and Setters for Dart in VsCode!
https://ift.tt/2N3dNp5

January 02, 2020 at 10:30AM by androidjunior
https://ift.tt/36iLPNB
New post on Flutter Dev Google group:

Cached Images doesn't exists after App re-start
Hi all, I'm trying to cache an image from the image_picker
New post on Flutter Dev Google group:

Many Flutter crashes appearing on Google Play console
Hi everyone I am new to Flutter and just submitted a new app. Actually the app is not exactly new but I rewrote it from scratch using Flutter (previously it was developed using another engine). Over the past few days, I shocked to see many crashes appearing on the console though I did not

January 02, 2020 at 11:04AM by Ah Huat
https://ift.tt/2ucI1PJ