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

The use of RaisedButton (or any button type) in a ToggleButtons widget
Anywhere I look for examples of the ToggleButtons widget, I only ever see icons being uses as such:
 ToggleButtons( children: <Widget>[ Icon(Icons.home), Icon(Icons.call), Icon(Icons.cake), ], ), 
I would like to use RaisedButton within ToggleButtons to make use of the Color and Formatting properties like selectedColor etc, but it doesn't seem to work too well.My question is, does anyone know if ToggleButtons only really supports Icons or are there any good examples of buttons being used within ToggleButtons?

January 19, 2020 at 02:03PM by OrchardLeaf
https://ift.tt/2G5mdbm
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/48536​Not 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
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
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
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 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
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
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
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
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
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