Flutter Heroes
25.6K subscribers
272 photos
2 videos
31.1K links
Download Telegram
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
Reddit: A basic example of how to set up Continuous Integration with GitLab CI
Hey everyone! I just recently moved from GitHub to GitLab and decided to take advantage of their native Continuous Integration system for testing. They didn't have a template for Flutter and I couldn't find any examples online, so I made one myself. I've never used GitLab CI before (or any CI for that matter) and am relatively new to Flutter, so I'm sure it can be improved a ton. Feel free to open a merge request if you have any improvements!

Submitted June 05, 2018 at 02:54AM by CyanBlob
via reddit https://ift.tt/2kNwX3u
GGroup: How to use Sensor flutter package to build a step counter of a fitness app with flutter.
I want to build a flutter fitness app with a widget of step counter, I think for that I need the sensor flutter package but didn't get the required tutorials of how to use the package for building the functions. or If I can use the Google fit API for building a custom calculator.

Submitted June 05, 2018 at 05:30AM by Tushar Rai
via Flutter Dev https://ift.tt/2M1gB3Q
GGroup: Checkout the repository in mentioned in this post. Lots of things can be learned (With Source Code)
Hi Freinds I have created a repo on Github yesterday https://ift.tt/2kMxdjd Some things which I learned on a journey to learn flutter and you can too - 1. Navigations Between Pages. 2. Performing Operations in Background Thread. 3. Doing a Network Request. 4.

Submitted June 05, 2018 at 08:12AM by Harsh Sharma
via Flutter Dev https://ift.tt/2HlEqzC
GGroup: local notification big picture style image display
Hi i am using local notification plugin to display image along with text . < https://lh3.googleusercontent.com/-8b4QUxiGDhY/WxY69umDj6I/AAAAAAAAANs/A1uGKcH34PwS__GZCaWBP1nNtu8YL7phQCLcBGAs/s1600/big%2Bpicture%2Bstyle.png > actually i want to display it as big picture style mode like above

Submitted June 05, 2018 at 09:26AM by N D Praveen
via Flutter Dev https://ift.tt/2kS7qWN
Reddit: Checkout the repository mentioned in this post. Lots of things can be learned (With Source Code)
Hi Friends I have created a repository on GitHub https://github.com/harsh159357/flutter_client_php_backendSome things which I learned on a journey to learn flutter and you can too -
1. Navigation Between Pages.
2. Performing Operations in Background Thread.
3. Doing a Network Request.
4. Serializing and De Serializing JSON.
5. How to use Dialogs and SnackBar.
6. Custom Progress Dialog.
7. Rest API Integration.
8. How to Store and Retrieve values from Shared Preference.(All things mentioned above covered in the repository code)Check out the repository make a pull request, raise issues and give a star if it's helpful.Also Feel Free to Ask any question.Until then Happy Coding

Submitted June 05, 2018 at 10:18AM by harsh_sharma_
via reddit https://ift.tt/2LoFnth
Reddit: So, about iOS 12
It looks like iOS 12 is going to deprecate OpenGL ES and I'm just wondering if I should be worried before jumping into Flutter. I don't seems to see any in depth articles of how Flutter does rendering on each platform aside from that it might choose Vulkan when available, which if I understand is not fully supported for apple devices.So could anybody at least point me to some information or assure me that there's nothing to be worried about ?

Submitted June 05, 2018 at 09:51AM by lupajz
via reddit https://ift.tt/2xJqVdx
Reddit: Anyone looking for some Flutter contracting work?
Not sure if this is the right place, I looking to build a mobile app for an application I'm working on. I evaluated React Native and Flutter and even though I have a lot of experience with React, I was much more impressed with Flutter. I'm looking for someone to build the mobile app for me in Flutter on a contract basis. It is not a very large application but it does include image uploads to AWS (which I would ideally like to work even when the application is in the background) and notifications.Any plugins that are developed during the contract can be open sourced. If you're interested PM me and we can discuss further.

Submitted June 05, 2018 at 12:59PM by mikecoder
via reddit https://ift.tt/2kPqQvJ
GGroup: I keep getting this error 'HttpException: Connection closed before full header was received' in the
I keep getting this error 'HttpException: Connection closed before full header was received' in the middle of an http request. am currently using the dart:io would changing to https://ift.tt/1FEXWDU help. Because anyways when I google for making http request in flutter, all I get

Submitted June 05, 2018 at 01:55PM by Michael Tawiah Sowah
via Flutter Dev https://ift.tt/2LovOe2
GGroup: How to stop new screen bottom-up animation when using hero animations
Hey, As you can see below in the gif, the new page animation scrolls up when using Navigation.of(context).push() and scrolls down on .pop(). But, when using the hero animation, they collide and it looks disturbing. Both pages are using Scaffold widget. Any clues? < https://lh3.googleuserc

Submitted June 05, 2018 at 02:53PM by Alfanhui
via Flutter Dev https://ift.tt/2kOToFu