Flutter Heroes
25.6K subscribers
272 photos
2 videos
31.1K links
Download Telegram
GGroup: window.padding.top return 0 in release mode
Hello flutter, I was trying to build a custom UI without Material widgets, but I found it wired when dealing with the status bar. In debug mode, everything works fine, but in release mode(start app with flutter run —-release), the top padding retrieved from ui.window is 0. What’s wrong in the

Submitted June 04, 2018 at 07:06AM by 李少杰
via Flutter Dev https://ift.tt/2LjsAbT
GGroup: In one line,How to build a auto-scrolling text to show all string, Instead of use clip or ellipsis?
< https://lh3.googleusercontent.com/-g4sjvx2U98s/WxTbG3mJusI/AAAAAAAAAAY/EDA9O4Is0kcijEZ6s9h58EtXde3fBkG0ACLcBGAs/s1600/xxx.gif > what I need is a widget like the gif above. I have tried to do,but have no way to start. can you give me some suggestion? thank you very much!

Submitted June 04, 2018 at 08:32AM by huang
via Flutter Dev https://ift.tt/2Hiuwif
GGroup: How can I build a good searching system in flutter? data will backup by realtime database/firestore
i want to stream video from URLs, and URL will be stored in firebase real-time database or firestore

Submitted June 04, 2018 at 02:01PM by Adnan Ahmed
via Flutter Dev https://ift.tt/2xFFYoD
GGroup: is it possible to style TextFormField error
is it possible to style TextFormField error eg: text align

Submitted June 04, 2018 at 02:50PM by Michael Tawiah Sowah
via Flutter Dev https://ift.tt/2JgK3B8
Reddit: Form with custom widgets
What’s the best way to give FormField behavior to a custom widget? I want it to be validated and saved to the form state as well. I have no idea how to use FormField or if extending it is the right way to do it. Could you show me an example on how adding a custom widget to a form would be best done in flutter?Thanks

Submitted June 04, 2018 at 03:02PM by Ruditorres
via reddit https://ift.tt/2kMDZp5
GGroup: Where I can get Flutter MVP Tutorial?
Hi, I need to learn how to integrate MVP in Flutter. There is many example about login tutorial but they are all confusing. I need to make Login page and keep the Login state alive. If example 5 min no interaction than app will redirect user to Login page. I need to learn MVP in Flutter to

Submitted June 04, 2018 at 03:14PM by Niyazi Toros
via Flutter Dev https://ift.tt/2J9KAbV
GGroup: [off-topic] Flutter stickers/swag
Quick question - forgive if wrong place to ask. I'm doing a couple conference sessions this summer in late-June and early-August introducing and experiences with Flutter for mobile development. Does anyone know if there is a potential source of Flutter/Firebase/related stickers/swag that I

Submitted June 04, 2018 at 04:08PM by Bruce Abernethy
via Flutter Dev https://ift.tt/2Jg76vC
GGroup: Error during layout -- BoxConstrains forces an infinite height
Hello devs, i want to make a scrollable textview so I went for this layout: Center > Container > Column > LayoutBuilder(so i can know the screen/parent's size) > Container > ListView > Text ERROR: I/flutter (23908): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═══════════════════════════════════

Submitted June 04, 2018 at 08:09PM by the_aceix
via Flutter Dev https://ift.tt/2sw0V0h
GGroup: Proper way to use ListView with lots of Images?
Hi, For example, when building a ListView that functions as a simple Gallery app (i.e. loads photos from the user's external storage), my app quickly runs out of memory and is killed by the system (Android, in this case) when scrolling through the list. This may be exaggerated by Flutter's image

Submitted June 04, 2018 at 08:50PM by Mike Maksymowych
via Flutter Dev https://ift.tt/2sBrKPG
GGroup: DartPad now uses Dart 2 SDK, semantics
DartPad , a web-based interactive dart service for experimenting with Dart without requiring a local SDK, is now live with Dart 2 by default. *How does this impact users of DartPad?* Dart 2 language features are now available

Submitted June 04, 2018 at 09:07PM by Janice Collins
via Flutter Dev https://ift.tt/2Jsfdc4
GGroup: Re: Proper way to use ListView with lots of Images?
The root issue is that the default ImageCache holds onto the last 1000 decoded images (regardless of size or memory pressure). +Jonah Williams is working on fixing this as we speak. :/ https://ift.tt/2JoHqAm On Mon, Jun 4, 2018 at 11:50 AM Mike

Submitted June 04, 2018 at 09:57PM by eseidel
via Flutter Dev https://ift.tt/2LlquZ3
GGroup: ListView to ListView.builder
Hi, I just read it's best to use ListView.builder for a larger number of items. My problem is that I built my constructor with the standard ListView and now I'm struggling to change my code to ListView.builder. I've been playing with my code the last few days but never succeeded I hope some

Submitted June 04, 2018 at 11:46PM by Marc Andrew
via Flutter Dev https://ift.tt/2Jh1ukR
Reddit: [Question] How can I store user created objects in local storage and retrieve to a List?
I am recreating my app Call Manager in Flutter and I am having a very difficult time storing objects and retrieving them into a list. Using SharedPreferences and GSON works well for the full Android app, but as GSON does not exist in Flutter, it seems to me that storing onjects as JSON data is the way to go.The flow should be as follows:The user add a new call on the AddNewCall screen. This includes a name, phone number, and optional description'When the user clicks the 'Save' button, a Call object is created from the text in those fields. The object is encoded into a String like this: String jsonData = json.encode(newCallObject);The call JSON data is saved into the app's local storage using getApplicationDocumentsDirectory()The user is taken back to the main screen, where the JSON file will be loaded into the app asynchronously in the initState() method.The JSON data is decoded and added to a ListViewThe problem I am experiencing is that as the JSON data is added to the file is Step 3, it will look like this: {sampleData}{sampleData} instead of being surrounded in [], as an array. The app hiccups when reading in the file because of this. My solution thus far has been to parse the contents of the file into an array, stick an underscore in between the }{, and split the resulting String into an array of type String. It looks like this:String jsonCalls = await file.readAsString();jsonCalls = jsonCalls.replaceAll('}{', '}_{');List<String> temp = jsonCalls.split('_');So now I get an array with JSON strings in them, but I am stuck on being able to access the values in each JSON string. This whole approach that I'm taking seems way over-complicated too. There must be a better way, but I have googled like crazy and found nothing. Are you guys able to help me out?Thanks!EDIT: Here is the StackOverflow post, if you want to answer there

Submitted June 05, 2018 at 02:25AM by GroovinChip
via reddit https://ift.tt/2Jp863Y