New post on /r/flutterdev subreddit:
Memory problems for long ListViews with Image from Network?
Hi, after days of searching for solutions, it seems that this is a known problem so I'd like to ask here in hopes that anyone has a bandage solution.Here's my situation:I have a ListView.builder populated with ListTiles, each of which has to display one single image that is loaded from a url. (It's a list of hotels). This starts to become a problem when run on older devices with smaller RAM, such as an iphone 6+ with 1GB ram. It can load close to 150 or so images, anymore than that the app crashes due to memory issues. I have tracked with Dart Dev Tools and it seems to reach above 1 GB in memory at times when my app requires a list that loads up to 500+ images.This issue is holding me from releasing the iOS version to the customers. I'm relatively new to developing but I've tried my best to scour for a solution and I can't seem to find one. What I'm looking to achieve is basically what Picasso or Glide does for android, where they seem to only load the necessary images without compromising much in terms of UX.Things I've tried:Cached Network Image, Advanced Network Image as well as flutter's own Image Network / NetworkImage.https://stackoverflow.com/questions/59730589/any-lightweight-flutter-network-image-plugin-for-long-lists-up-to-500-image-uSome of the things I've found:https://github.com/flutter/flutter/issues/32156https://github.com/flutter/flutter/issues/32143https://github.com/flutter/flutter/issues/44510https://github.com/flutter/flutter/pull/48536Not sure if this is the right place to ask but I'm gonna try anyway. Thank you for any help/clue you may provide. Looking forward to learning new things.
January 19, 2020 at 01:53PM by TWHreddit
https://ift.tt/30zESpf
Memory problems for long ListViews with Image from Network?
Hi, after days of searching for solutions, it seems that this is a known problem so I'd like to ask here in hopes that anyone has a bandage solution.Here's my situation:I have a ListView.builder populated with ListTiles, each of which has to display one single image that is loaded from a url. (It's a list of hotels). This starts to become a problem when run on older devices with smaller RAM, such as an iphone 6+ with 1GB ram. It can load close to 150 or so images, anymore than that the app crashes due to memory issues. I have tracked with Dart Dev Tools and it seems to reach above 1 GB in memory at times when my app requires a list that loads up to 500+ images.This issue is holding me from releasing the iOS version to the customers. I'm relatively new to developing but I've tried my best to scour for a solution and I can't seem to find one. What I'm looking to achieve is basically what Picasso or Glide does for android, where they seem to only load the necessary images without compromising much in terms of UX.Things I've tried:Cached Network Image, Advanced Network Image as well as flutter's own Image Network / NetworkImage.https://stackoverflow.com/questions/59730589/any-lightweight-flutter-network-image-plugin-for-long-lists-up-to-500-image-uSome of the things I've found:https://github.com/flutter/flutter/issues/32156https://github.com/flutter/flutter/issues/32143https://github.com/flutter/flutter/issues/44510https://github.com/flutter/flutter/pull/48536Not sure if this is the right place to ask but I'm gonna try anyway. Thank you for any help/clue you may provide. Looking forward to learning new things.
January 19, 2020 at 01:53PM by TWHreddit
https://ift.tt/30zESpf
Stack Overflow
Any lightweight Flutter Network Image plugin for long lists? (up to 500+ image urls to load)
So what I'm looking to achieve is:
Display a long list of hotels, each has one single image url. All these retrieved from an API.
I need it to be smooth/lightweight, so no noticeable fps drops when
Display a long list of hotels, each has one single image url. All these retrieved from an API.
I need it to be smooth/lightweight, so no noticeable fps drops when
New post on /r/flutterdev subreddit:
Flutter web TextField
hii have a small flutter app for then web and showing a TextField.i now need a OnKeyDown event for that TextField to detect F Key's that user typed.for example i want to show snack bar when user type F4 in textField without move focus.how could i do that??
January 19, 2020 at 02:54PM by AZahmatkesh
https://ift.tt/2RsjzBQ
Flutter web TextField
hii have a small flutter app for then web and showing a TextField.i now need a OnKeyDown event for that TextField to detect F Key's that user typed.for example i want to show snack bar when user type F4 in textField without move focus.how could i do that??
January 19, 2020 at 02:54PM by AZahmatkesh
https://ift.tt/2RsjzBQ
reddit
Flutter web TextField
hi i have a small flutter app for then web and showing a TextField. i now need a OnKeyDown event for that TextField to detect F Key's that user...
New post on /r/flutterdev subreddit:
Top 12 Must have VsCode Extensions For Every Flutter Developer - AllTechSavvy
https://ift.tt/30xskyK
January 19, 2020 at 12:42PM by sagarshende
https://ift.tt/2toOjMe
Top 12 Must have VsCode Extensions For Every Flutter Developer - AllTechSavvy
https://ift.tt/30xskyK
January 19, 2020 at 12:42PM by sagarshende
https://ift.tt/2toOjMe
AllTechSavvy
Top 12 Must Have VsCode Extensions For Every Flutter Developer | AllTechSavvy
Thousands of Extension Avaliable into Vscode Marketplace But which Exactly you should Install for Flutter Framework to Boost Your Coding Productivity.
New post on /r/flutterdev subreddit:
https://ift.tt/3amy6rs
https://ift.tt/3amy6rs
January 19, 2020 at 09:13AM by Matrix-187
https://ift.tt/2G0KQGi
https://ift.tt/3amy6rs
https://ift.tt/3amy6rs
January 19, 2020 at 09:13AM by Matrix-187
https://ift.tt/2G0KQGi
Dart packages
flutter_image_gallery | Flutter Package
A Flutter image gallery plugin that allows you to display images from local iOS and Android image galleries.
New post on /r/flutterdev subreddit:
Flutter http call / api call / network call - part 3 - Flutter FutureBuilder - Show all blog posts and show network image
https://www.youtube.com/watch?v=9yLjU7y_j5c&list=PLZflonEHE91dkBkMt0F556ksk_YJNH_QY&index=3
January 18, 2020 at 05:53PM by _lutfor
https://ift.tt/2TBA8xW
Flutter http call / api call / network call - part 3 - Flutter FutureBuilder - Show all blog posts and show network image
https://www.youtube.com/watch?v=9yLjU7y_j5c&list=PLZflonEHE91dkBkMt0F556ksk_YJNH_QY&index=3
January 18, 2020 at 05:53PM by _lutfor
https://ift.tt/2TBA8xW
YouTube
Flutter http call - part 3 - Flutter FutureBuilder - Show all blog posts and show network image
Get your favorite Flutter course for $12.99 only.
https://www.udemy.com/course/master-flutter-learn-dart-flutter-by-developing-20-apps/?couponCode=FLUT-AUG-2020
Master Flutter - Learn Dart & Flutter by Developing 20 Apps
Learn Google Flutter & Dart by Developing…
https://www.udemy.com/course/master-flutter-learn-dart-flutter-by-developing-20-apps/?couponCode=FLUT-AUG-2020
Master Flutter - Learn Dart & Flutter by Developing 20 Apps
Learn Google Flutter & Dart by Developing…
New post on /r/flutterdev subreddit:
Looping a three part Rive/Flare animation
I'm still working on my Flutter Clock submission, but have ran into a lack of documentation on how I should go about "looping" the animation using Flutter and Rive. My animation essentially has three parts: a beginning (only played once) a middle (played as a loop) and an end (also played only once). I was wondering if there were any examples that better show how I should code these animations to run in this order with n number of loops (or if there was a way I should create the animations in Rive to better handle these state changes)? I assume that I'll need to retrieve parameters like the current length of the animations that are played once, but I was just curious if there was a method that fires after the Rive controller has finished the animation.
January 19, 2020 at 06:40PM by mommasboy364
https://ift.tt/36aCPZO
Looping a three part Rive/Flare animation
I'm still working on my Flutter Clock submission, but have ran into a lack of documentation on how I should go about "looping" the animation using Flutter and Rive. My animation essentially has three parts: a beginning (only played once) a middle (played as a loop) and an end (also played only once). I was wondering if there were any examples that better show how I should code these animations to run in this order with n number of loops (or if there was a way I should create the animations in Rive to better handle these state changes)? I assume that I'll need to retrieve parameters like the current length of the animations that are played once, but I was just curious if there was a method that fires after the Rive controller has finished the animation.
January 19, 2020 at 06:40PM by mommasboy364
https://ift.tt/36aCPZO
reddit
Looping a three part Rive/Flare animation
I'm still working on my Flutter Clock submission, but have ran into a lack of documentation on how I should go about "looping" the animation using...
New post on /r/flutterdev subreddit:
StartUp Logic and User Profiles using Firebase and Firestore
https://youtu.be/d6FaV7cp_YE
January 19, 2020 at 06:32PM by Filledstacks
https://ift.tt/2v6Q69f
StartUp Logic and User Profiles using Firebase and Firestore
https://youtu.be/d6FaV7cp_YE
January 19, 2020 at 06:32PM by Filledstacks
https://ift.tt/2v6Q69f
YouTube
StartUp Logic and User Profiles using Firebase and Firestore
In this tutorial we go over the process of adding custom startup logic for logged in users as well as user profiles in firestore.
Written: https://www.filledstacks.com/post/firebase-startup-logic-and-custom-user-profiles/
Start Project: https://firebas…
Written: https://www.filledstacks.com/post/firebase-startup-logic-and-custom-user-profiles/
Start Project: https://firebas…
New post on /r/flutterdev subreddit:
New Cupertino (iOS-style) widgets: CupertinoContextMenu & CupertinoSlidingSegmentedControl
https://ift.tt/2LVBZKh
January 19, 2020 at 09:28PM by Elixane
https://ift.tt/37aTeyX
New Cupertino (iOS-style) widgets: CupertinoContextMenu & CupertinoSlidingSegmentedControl
https://ift.tt/2LVBZKh
January 19, 2020 at 09:28PM by Elixane
https://ift.tt/37aTeyX
flutter.dev
Cupertino (iOS-style) widgets
New post on /r/flutterdev subreddit:
Refactoring isn't always easy
https://ift.tt/2Rs8iS4
January 19, 2020 at 04:43PM by escamoteur
https://ift.tt/2R84S7T
Refactoring isn't always easy
https://ift.tt/2Rs8iS4
January 19, 2020 at 04:43PM by escamoteur
https://ift.tt/2R84S7T
Guru Meditation
I don’t know what I’m doing – a story about refactoring
I did a lot of refactoring the last week and after a comment on Twitter I decided perhaps it might be interesting for you to read about it. Sometimes refactoring is straight forward like factoring …
New post on /r/flutterdev subreddit:
[Flutter in 2020] What is in your opinion whould be best architecture to follow while developing flutter app which is sustainable, maintainable, scalable and testable?
If someone could help me with the design principal being followed at the moment for writing flutter app at large scale.It would be great if someone from Google or any other companies with flutter app at production could give their valuable feedback but others are also welcome.Thanks.
January 19, 2020 at 11:06PM by imrhk
https://ift.tt/38nPD0G
[Flutter in 2020] What is in your opinion whould be best architecture to follow while developing flutter app which is sustainable, maintainable, scalable and testable?
If someone could help me with the design principal being followed at the moment for writing flutter app at large scale.It would be great if someone from Google or any other companies with flutter app at production could give their valuable feedback but others are also welcome.Thanks.
January 19, 2020 at 11:06PM by imrhk
https://ift.tt/38nPD0G
reddit
r/FlutterDev - [Flutter in 2020] What is in your opinion whould be best architecture to follow while developing flutter app which…
12 votes and 14 comments so far on Reddit
New post on /r/flutterdev subreddit:
Is there any animation software I can use other than rive (2dimensions flare previously) ?
live2d Cubism? spine?
January 20, 2020 at 12:22AM by satalana
https://ift.tt/2TDUE0R
Is there any animation software I can use other than rive (2dimensions flare previously) ?
live2d Cubism? spine?
January 20, 2020 at 12:22AM by satalana
https://ift.tt/2TDUE0R
Live2D Cubism | イラストに命が宿る感動を - 描かれた「絵」そのものを自在に動かす表現技術。
Live2Dは、世界中のプロクリエイターが愛用する、2Dリアルタイム表現における業界スタンダードツール。スマートフォンアプリ、家庭用ゲーム、VTuber、動画など幅広い用途で使われています。
New post on /r/flutterdev subreddit:
A simple Flutter app to Read and Download eBooks.
https://ift.tt/38eXTzY
January 20, 2020 at 02:04AM by JideGuru
https://ift.tt/2RaeJKH
A simple Flutter app to Read and Download eBooks.
https://ift.tt/38eXTzY
January 20, 2020 at 02:04AM by JideGuru
https://ift.tt/2RaeJKH
GitHub
JideGuru/FlutterEbookApp
A simple Flutter app to Read and Download eBooks. Contribute to JideGuru/FlutterEbookApp development by creating an account on GitHub.
New post on /r/flutterdev subreddit:
Beginners Guid to Creating User Profile Page With Firebase Auth Data
https://youtu.be/LQvZctkVGh8
January 20, 2020 at 06:18AM by projectmind_guru
https://ift.tt/2R88LKg
Beginners Guid to Creating User Profile Page With Firebase Auth Data
https://youtu.be/LQvZctkVGh8
January 20, 2020 at 06:18AM by projectmind_guru
https://ift.tt/2R88LKg
YouTube
(Ep 38) Creating User Profile Page With Firebase Auth Data in Flutter
See how to access your users information and display it on a profile page. In addition we’ll clean up some of the logic around converting an anonymous user to a permanent user.
Complete Code on GitHub: https://github.com/davefaliskie/travel_treasury/tree/episode_38…
Complete Code on GitHub: https://github.com/davefaliskie/travel_treasury/tree/episode_38…
New post on Flutter Dev Google group:
web named input field?
I'm trying to create a login form that plays nice with the existing credentials management ecosystem. I believe they mostly key off the input field names. Is there a way to emit input elements that have the html name attribute set using TextField or TextFormField ?
January 20, 2020 at 07:02AM by Travis Dixon
https://ift.tt/2ueGmJy
web named input field?
I'm trying to create a login form that plays nice with the existing credentials management ecosystem. I believe they mostly key off the input field names. Is there a way to emit input elements that have the html name attribute set using TextField or TextFormField ?
January 20, 2020 at 07:02AM by Travis Dixon
https://ift.tt/2ueGmJy
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on Flutter Dev Google group:
When code upload on live server its working but not work in chrome debug
import 'package:flutter/material.dart'; import 'package:flutter_web_dashboard/libdemo/admin_dashboard.dart'; import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'package:http/http.dart' as http; import 'package:flutter_web_dashboard/libdemo/utils/color_constants.dart'; import
January 20, 2020 at 07:25AM by Andy RP
https://ift.tt/2TEroaj
When code upload on live server its working but not work in chrome debug
import 'package:flutter/material.dart'; import 'package:flutter_web_dashboard/libdemo/admin_dashboard.dart'; import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'package:http/http.dart' as http; import 'package:flutter_web_dashboard/libdemo/utils/color_constants.dart'; import
January 20, 2020 at 07:25AM by Andy RP
https://ift.tt/2TEroaj
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on Flutter Dev Google group:
List of Widgets of Form is updating after deleting one widget of Form but updated list not rendering on UI.
Hi I want to create multiple form. So i have created one class of Form and another Pojo class of PLACE. I have written one ADD method for adding the Form in list, and another for delete. The PROBLEM is that "after deleting any record of list, it is only deleting last record ". Can anybody help
January 20, 2020 at 07:26AM by shivkant sawarkar
https://ift.tt/36bFSRD
List of Widgets of Form is updating after deleting one widget of Form but updated list not rendering on UI.
Hi I want to create multiple form. So i have created one class of Form and another Pojo class of PLACE. I have written one ADD method for adding the Form in list, and another for delete. The PROBLEM is that "after deleting any record of list, it is only deleting last record ". Can anybody help
January 20, 2020 at 07:26AM by shivkant sawarkar
https://ift.tt/36bFSRD
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
When should I use AnimatedBuilder or AnimatedWidget?
https://ift.tt/2tyf6FP
January 20, 2020 at 08:08AM by sebaslogen
https://ift.tt/2ufSZ70
When should I use AnimatedBuilder or AnimatedWidget?
https://ift.tt/2tyf6FP
January 20, 2020 at 08:08AM by sebaslogen
https://ift.tt/2ufSZ70
Medium
When should I useAnimatedBuilder or AnimatedWidget?
We know you have many choices when you fly, I mean animate, in Flutter, so thank you for choosing AnimatedBuilder and AnimatedWidget. Wait…
New post on Flutter Dev Google group:
Live Video Streaming App Development in Flutter
is anyone developing Live Video Streaming app like Skype, Facebook Live or IGTV
January 20, 2020 at 07:47AM by Zammy Zaif
https://ift.tt/3atIgX4
Live Video Streaming App Development in Flutter
is anyone developing Live Video Streaming app like Skype, Facebook Live or IGTV
January 20, 2020 at 07:47AM by Zammy Zaif
https://ift.tt/3atIgX4
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on Flutter Dev Google group:
Adding Firebase to Flutter package
Hey, I am trying to add Firebase to a flutter package. The intructions inlclude this step: In your *module (app-level* Gradle file (usually android/app/build.gradle), apply the Google Services Gradle plugin. *// Add the following line:apply plugin: 'com.google.gms.google-services' // Google
January 20, 2020 at 09:25AM by sarbjot singh
https://ift.tt/376apBD
Adding Firebase to Flutter package
Hey, I am trying to add Firebase to a flutter package. The intructions inlclude this step: In your *module (app-level* Gradle file (usually android/app/build.gradle), apply the Google Services Gradle plugin. *// Add the following line:apply plugin: 'com.google.gms.google-services' // Google
January 20, 2020 at 09:25AM by sarbjot singh
https://ift.tt/376apBD
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
Apple Sign In with Flutter & Firebase Authentication
https://youtu.be/qnoBwlHklq0
January 20, 2020 at 10:28AM by bizz84
https://ift.tt/3araYIs
Apple Sign In with Flutter & Firebase Authentication
https://youtu.be/qnoBwlHklq0
January 20, 2020 at 10:28AM by bizz84
https://ift.tt/3araYIs
YouTube
Apple Sign In with Flutter & Firebase Authentication
📖 Full reference article with step-by-step instructions: 👇👇
https://codewithandrea.com/videos/2020-01-20-apple-sign-in-flutter-firebase/
This tutorial shows how to implement Apple Sign In with Flutter & Firebase Authentication (from scratch), and give your…
https://codewithandrea.com/videos/2020-01-20-apple-sign-in-flutter-firebase/
This tutorial shows how to implement Apple Sign In with Flutter & Firebase Authentication (from scratch), and give your…
New post on /r/flutterdev subreddit:
Properties in ThemeData and component properties they affect
I feel like I've been searching for this for too long:What do each of the properties in ThemeData affect? If I want to change something, say the text style of a particular widget, how do I know which text style to change in ThemeData?Take this example: I wanted to have a specific text style for my AppBar (top app bar). I'm not sure if I'm not going about this correctly, but it took me a while to realize that it is
January 20, 2020 at 11:50AM by themindstorm
https://ift.tt/37bWRoi
Properties in ThemeData and component properties they affect
I feel like I've been searching for this for too long:What do each of the properties in ThemeData affect? If I want to change something, say the text style of a particular widget, how do I know which text style to change in ThemeData?Take this example: I wanted to have a specific text style for my AppBar (top app bar). I'm not sure if I'm not going about this correctly, but it took me a while to realize that it is
textTheme.title
, a property of AppBarTheme()
that changes the app bar text style.Also, for buttons, for the textTheme, I could put ButtonTextTheme.primary, or ButtonTextTheme.secondary. What exactly are the differences in these?Same issue with colors. Is there a list of what each property (primary, accent, focus, indicator, highlight color) affect in your UI?I know I could dig into the source code of each widget and check for myself, but I feel that there should be a list. I made an issue about this, it seems that some progress is being made (#36624)Relevant documentation: https://api.flutter.dev/flutter/material/ThemeData-class.htmlThis youtube video Material theming in Flutter is recent, and there's one commenter who has the same problem as me:What I really want is that ALL properties in ThemeData (including it's nested Themes and a colorScheme) would have a full list of components they affect somewhere well documented. AND the full list of all components in Flutter with their corresponding ThemeData properties which defines their color/style. For now I have to Google on how to change color for "foo" component and go through a bunch of StackOverflow questions before I find the right one. It's all should be in docs in one place. For example, how do I know where to change the color of the text on the textfield contextual popup menu (the one that has CUT | COPY | PASTE)? In the main theme in text styles? Maybe it's affected by one of the colorScheme properties? Or maybe it's defined in one of the ButtonTheme properties? Or it has it's own style property in the main ThemeData? We really need a list of all components and corresponding properties which style them. Thank you guys for your hard work!January 20, 2020 at 11:50AM by themindstorm
https://ift.tt/37bWRoi
GitHub
What do each of the colors in ColorScheme() do? · Issue #36624 · flutter/flutter
I'm using ColorScheme() to theme my app and set some colors. Here's my code for the theme: colorScheme: ColorScheme( primary: Colors.red, onPrimary: Colors.black, primaryVariant: Co...