Flutter Heroes
25.7K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

SliverGrid
Hello! , I'm trying to do something like this : SliverGrid( gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( crossAxisCount: rowCount), what I want do is when (index == 10 ) change the rowCount so, for now the rowCount is 2 item , once its 10 I want to show only one 1 item ,

March 26, 2019 at 05:30PM by AbdAlwahab Hurbly
https://ift.tt/2Or3OsV
New post on /r/flutterdev subreddit:

Listview within a listview
I want to create a vertical list with a horizontal list at each index. And both the lists are maintained dynamically. How do i achieve this?

March 26, 2019 at 07:40PM by fardeen9983
https://ift.tt/2TX7KI4
New tweet from FlutterDev:

🍬The #FlutterCreate top prize just got sweeter.🍭

The specs of the grand prize now include 256GB RAM. That's enough to fit over fifty million 5K entries!

Enter by April 7, 11:59pm PDT to win → https://t.co/hZFtHcIXUG pic.twitter.com/LU3bWE7r9M— Google Developers (@googledevs) March 26, 2019

March 26, 2019 at 08:35PM
http://twitter.com/FlutterDev/status/1110626366834335744
New post on Flutter Dev Google group:

Erro no emulador
Estou usando o VSCODE, e quando rodo e chama o emulador, aparece esse erro: Failed to launch emulator: Error: Emulator didn't connected within 60 seconds

March 26, 2019 at 08:45PM by Ruan Lima
https://ift.tt/2CEvUMG
New post on Flutter Dev Google group:

error in emulator
I'm using VSCODE, and when I squeeze and call the emulator, this error appears: Failed to launch emulator: Error: Emulator did not connect within 60 seconds

March 26, 2019 at 08:49PM by Ruan Lima
https://ift.tt/2V48jfm
New post on /r/flutterdev subreddit:

Grabbing JSON from the assets folder
Hi I'm not sure if a post like this is allowed but I haven't been able to find the answer anywhere else on the internet and I think this question is broad enough to help a lot of people. I'm currently using the googleapis package. Currently my private key is pasted straight into my code with r'''''' surrounding the key like they've put the private key in the example in the documentation. I don't like how I currently have my key copy pasted straight into my code and would rather keep a json file in my assets folder and pull the key from there. Is there a clean solution similar to how the open() method in Python allows you to open the file and then load the json as if it were just copy pasted into the code?

March 26, 2019 at 08:25PM by WittyProfile
https://ift.tt/2WmJ4Fu
New post on Flutter Dev Google group:

incompatibility between cloud firestore and pickerImage
If you try to add pickerImage and Cloudfirestore like dependencies in package.yaml, and you restart your app, then your app will be break.

March 26, 2019 at 09:23PM by Luis Ernesto Páez
https://ift.tt/2uD9Nlz
New post on /r/flutterdev subreddit:

Flutter - GPS Geolocation Tutorial
http://on.edupioneer.net/a444676a0d

March 27, 2019 at 07:56AM by GeraldNwakpu
https://ift.tt/2YuaWJy
New post on /r/flutterdev subreddit:

The Toolbox - Hero animations
https://ift.tt/2Yr38bI

March 27, 2019 at 07:43AM by Elixane
https://ift.tt/2TXqwig
New post on Flutter Dev Google group:

Recommended approach to make configuration settings available in API provider?
Hi all, So I need to build my app for multiple environments. I have different configuration files and entry points for each environment as this seems to be the recommended approach presently. The configuration is made available to widgets as an InheritedWidget as per lots of examples. My problem

March 27, 2019 at 09:37AM by AA
https://ift.tt/2I0JSf8
New post on Flutter Dev Google group:

How to include scrollbar/scrolling functionality for particular widget in list view
Hi Good day. I have ListVIew widget and within the list view, I want to implement scrolling functionality for particular widget. Please anyone can assist/suggest me best solution. PFB below code snippet. return Scaffold( appBar: AppBar( title: Text('Sample app'), backgroundColor: Colors.deepPur

March 27, 2019 at 10:18AM by PRAVIN MARATHE
https://ift.tt/2JWFOQ3
New post on /r/flutterdev subreddit:

[MobX] Confused about different approaches
Greetings everyone,​since my application has reached a point in which vanilla setState handling is getting out of hand and loses a lot of readability and understanding, I'm about to rewrite these logical parts with one of those best practice solutions. After some researching i actually kind of liked the workflow of MobX. The fact that most boilerplate code gets generated by command and I just need to insert the Observer widget right where data gets displayed makes it easy to implement and increases the readability.​To get to the topic: as of right now I'm testing the possibilities of MobX to better understand how I should implement this in my main application. Since now there are 2 behaviors (which actually lead to the same reason) where I'm not sure how to properly handle those. I'm using a Settings Store class for handling user properties through the application:
/* 
Application uses an instance of Settings */ class Settings = SettingsBase with _$Settings;/* Store class which represents data (observables which will trigger the Observer Widget as the value changes) and actions which handles changes to those observables */ abstract class SettingsBase implements Store { SettingsBase();@observable ThemeWrapper themeWrapper = ThemeWrapper( currentThemeType: ThemeType.dark, theme: getThemeData(ThemeType.dark));
 @observable List<String> enteredWares = []; 
​First the themeWrapper property. If I'm changing it inside a function with the @action annotation like this:
@action 
changeTheme(ThemeType themeType) { this.themeWrapper.currentThemeType = themeType; this.themeWrapper.theme = getThemeData(themeType);the appropriate Observer widget won't get rebuilded since the themeWrapper Object itself didn't change - only its properties did! So in order to make this work, I either have to transform the ThemeWrapper class to be a Store just like Settings:
class ThemeWrapper = ThemeWrapperBase with _$ThemeWrapper; 
abstract class ThemeWrapperBase implements Store { ThemeWrapperBase({this.currentThemeType, this.theme});@observable ThemeType currentThemeType; @observable ThemeData theme; }or instead i could actually just call: this.themeWrapper = this.themeWrapper; after changing the properties which will also work. The second approach doesn't feel like the way it should be done but decreases the amount of needed Store classes and additional boilerplate code.​Same thing happens when instead of a simple object a collection like List is being used
@observable 
List<String> enteredWares = [];
@action 
addWare(String ware) { this.enteredWares.add(ware); }calling addWare won't trigger the rebuild of the appropriate Observer widget since again the object enteredWares doesn't get changed - its property which contains the Strings does. Again calling this.enteredWares = this.enteredWares; would make the trick here but feels wrong. In this particular case in order to solve this problem in the way as mentioned before, I would have to write my own collection which has its entries as an observable and the add / remove function as actions. This can't be the way to go either.​So what am I missing here? Is the second approach by re-setting the variable expensive performance wise or even has other drawbacks I'm not even aware of? Or should i actually just go for it? Other ways to handle this scenario with MobX? I would appreciate any kind of help here! :)

March 27, 2019 at 10:52AM by Kounex
https://ift.tt/2FCWhoe
New post on /r/flutterdev subreddit:

Encryption in Flutter (curve ed25519)
HiDoes anyone have experience with curve ed25519 in flutter?I'm looking for a package to sign a message and send it. The only problem is that it has to be with ed25519.
Any info would be nice. Thanks!​//Ivan

March 27, 2019 at 10:31AM by ivancoene
https://ift.tt/2FzbSUl
New post on /r/flutterdev subreddit:

Common Workflow in Flutter
https://ift.tt/2U0AUGb

March 27, 2019 at 11:47AM by NearbyCover7
https://ift.tt/2FuPjAq
New post on Flutter Dev Google group:

SLiver adapter error , flutter
I encountered an error displaying indexof(child) > index for sliver adapter but i didnt use any slivers Heres my code: class _profilePageState extends State { FirebaseUser user; String username; @override void initState() async { // TODO: implement initState super.init

March 27, 2019 at 05:04PM by Krishna Gandrath
https://ift.tt/2CG5udn
New post on Flutter Dev Google group:

LA SCHIFOSA PUTTANA FRANCESCA VERDINI SE LA FA CON L'ASSASSINO NAZISTA, NDRANGHETISTA MATTEO SALVINI
LA SCHIFOSA PUTTANA FRANCESCA VERDINI SE LA FA CON L'ASSASSINO NAZISTA E NDRANGHETISTA MATTEO SALVINI! CHE HA 20 ANNI PIU' DI LEI O QUASI. E' FIGLIA DEL MASSONE PEZZO DI MERDA DENIS VERDINI, UN FASCISTA SCHIFOSO, CHE HA PIU' CONDANNE AL CARCERE........ LUI CHE AL CAPONE E RENATO VALLANZASCA

March 27, 2019 at 06:50PM by SIMONA-PREMOLI EXLESBIANAMANTE-DE MARINA-BERLUSCONI
https://ift.tt/2OsyrOI
New post on /r/flutterdev subreddit:

Easy way to test Flutter app?
Hi Everyone!I am develop Flutter app with Firebase backend.I have auth, notification, and Firestore. I am use scoped_model for manage state. I want add test to app for check app is work on many device.I have no experience add test to app.What is most easy way to test? I have read https://flutter.dev/docs/testing but still look complicate.Firebase Robo Test look very easy but it no work for Flutter because:Robo tests use the Android API to perform actions on Android UI widgets directly. That helps the tests explore your UI automatically, but also means that they need to be able to extract an Android UI hierarchy for a screen in order to run tests on it.This correct?What is most easy for beginner?​Thanks!

March 27, 2019 at 07:10PM by Flutter_Dev
https://ift.tt/2HWk4Rs