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

FlutterForce — Week 25
http://bit.ly/2V1cTud

May 05, 2019 at 10:47AM by flutterist
http://bit.ly/2DPdKIu
New post on /r/flutterdev subreddit:

Question about app business logic in BLoC pattern
I decided to figure out how to use BLoC pattern for my flutter app. The sources that I used were medium article by Sagar Suri and documentation of BLoC library by Felix Angelov. Both sources suggest the similar architecture:uiScreen <-----> bloc <-----> repository <-----> dataThey say the purpose of the BLoC is to decouple ui and business logic.But I still feel that the whole layer is missing between bloc and repository. Every bloc is mapped to a screen so it is more like controller of ui state and not the business logic of the application because app's business logic is often ui agnostic. So basically if you handle your app's business logic inside bloc you just failed the only task BLoC had. Because now business logic is coupled with particular screen. And what will happen if for example you moved a button that initiated some processing from one screen to another? I guess you would have to move the part of business logic from one bloc to another.So I feel the real need to introduce something like services or interactors layer, where I would do the REAL business logic processing(some calculations, ML stuff, processing data from sensors or system broadcasts or whatever) which I would be able to use in blocs in case I need to show something to user or get input from user.The question is if it ok to do like this? And if yes how would I pass data from services to ui? In native Android ViewModel(some kind of alternative to bloc) could just pass observables from data layer to ui. But in BLoC pattern the stream which is passed to ui is stream of states not of data. And service layer should not know about states of some screen. So do I just await asynchronous services operations inside blocs and then convert this data to streams of states?Any help would be appreciated.

May 05, 2019 at 12:42PM by jeaced
http://bit.ly/2DQU8DW
New post on /r/flutterdev subreddit:

how to get gallery screen on my app
Not like an image picker where you pick images from the gallery but an app that opens up to a gallery screen with all images from gallery. From here i need to select the image i want to do some processing on the server side and get it back.

May 05, 2019 at 02:37PM by flutterman98
http://bit.ly/2J2LyGG
New post on /r/flutterdev subreddit:

Integration tests involving google login
Hi​Has anyone written integration tests for an app involving any OAuthProvider Login?

May 05, 2019 at 03:49PM by harishreddym
http://bit.ly/2LqWijV
New post on /r/flutterdev subreddit:

Library for animating Path objects in a drawing-like fashion (+ SVG support)
http://bit.ly/2VLD24H

May 05, 2019 at 03:11PM by fluutter
http://bit.ly/2ZZwfDx
New post on /r/flutterdev subreddit:

Spent a couple days with Flutter, here is my experience
I don't see a lot of beginner feedback posts around here, so I'd like to make one.So I've spent my last couple days with Flutter and I thought I would share a couple things I've encountered and the first impression I've gotten.Okay, so here they are:Declarative UI is awesome indeed. Flutter got it right I guess. It is the very same thing that React has with components, but styling is so much better done this way. redux fits nicely with the architecture, would not do the UI any other way.Hot reload is awesome.UI errors are not descriptive enough. You get an error with a failed assertion somewhere and good luck trying to figure out what Widget composition caused the error. Though given the hot reload, you can build up everything iteratively. So like a good 100 times faster compared to native Android development.Android Studio has no working autocomplete. (I cannot emphasize how painful that is.) If you type in the class entirely, you can press Alt + Enter to import it. Though it works with VS Code, which is a joke. Dart alone by itself used in IntelliJ Ultimate on the other hand has the Java-like autocomplete you would expect (it is even enough writing only the uppercase letters). If I open Flutter project in IntelliJ, autocomplete stops working.About Dart:Dart is bad, coming from Kotlin or TypeScript. It has all the downsides with generating toString endlessly for dto classes (and also named parameter constructors have to written by hand, there is no shortcut). The built_value generator is too difficult to set up, it would take yet a couple hours again.mixins, aka 'classy multiple inheritance' makes me fear what it would like to work on the code with other people.factory constructors do not make much sense, implicit interface seems less descriptive and there is yet another new way to type lambda expressions.dynamic and noSuchMethod is just funny, given that it also has reified generics.there are no libraries. Get used to use libraries with 100 stars or less. (With web, I would not even touch anything below 2000 stars.) Everything seems hacky and there is no clear-cut way. Sqlite is also more verbose, given that there is no Room.Overall, there are sooo many weird things in the dart language itself and it's a very unpleasant experience. It looks like what I gain on hot reload I lose on writing repetitive code, which I hope to be able to reduce a lot.

May 05, 2019 at 10:02PM by NotSoIncredibleA
http://bit.ly/2DRFY5x
New post on /r/flutterdev subreddit:

Flutter game app with Firebase leaderboard
http://bit.ly/2Jp2hTX

May 06, 2019 at 12:48AM by yum650350
http://bit.ly/2LrU040
New post on Flutter Dev Google group:

Edit Xcode project
Hi, I'am about few days in flutter world. What I want to do it is to test how android and iOS looks. I tried the first tutorial and everything worked smooth. My blocking thing at this moment it is how can I edit (let say I want to make a custom text only on iOS) the Xcode project? I tried to find

May 06, 2019 at 02:01AM by geanni Barbulescu
http://bit.ly/2PQ509Z
New post on /r/flutterdev subreddit:

Data Persistence with SQLite | Flutter
http://bit.ly/2FZWWz6

May 06, 2019 at 06:08AM by ashishrawat2911
http://bit.ly/2H3ONeE
New post on /r/flutterdev subreddit:

Flutter @ Google I/O 2019
Google I/O is happening May 7-9! A livestream will be available from the Google Developers YouTube channel. Here are all the events that are related to Flutter:Streamed sessions (time in PDT):Tuesday, May 7Google Keynote - 10:00am - 11:30amDeveloper Keynote - 12:45pm - 1:45pmBeyond Mobile: Material Design, Adaptable UIs, and Flutter - 2:00pm - 3:00pmWednesday, May 8Building for iOS with Flutter - 9:30am - 10:30amBeyond Mobile: Building Flutter Apps for iOS, Android, Chrome OS, and Web - 2:30pm - 3:30pmDart: Multi-Platform, Productive, Fast — Pick 3 - 5:30pm - 6:30pmThursday, May 9Pragmatic State Management in Flutter - 10:30am - 11:30amLive chat on DiscordJoin us on our Discord chat server to discuss the event in real time. We’ll have a dedicated channel for Google I/O.

May 06, 2019 at 08:39AM by JaapVermeulen
http://bit.ly/2vFjrVi
New post on /r/flutterdev subreddit:

What tool do you use to create your designs/wireframes?
I'm new to mobile development, and jumped in right ahead on Flutter. I'l loving it so far.I've became experienced enough to start designing my mobile apps before starting development. Before I used to jump right into development and design along developing...​What tool do you recommend for designing flutter/material applications, and even maybe work on a wireframe.I'm on Ubuntu, so I would prefer a cross-platform tool.​I've done some researches, and found Sketch to be leading so far?​Thank you

May 06, 2019 at 12:39PM by lambasoft
http://bit.ly/2V35FG3
New post on /r/flutterdev subreddit:

Advice about good practice
Hi guys.I made a small app to learn more about BLoC pattern, Rx and overall about Flutter.Here is my repo, this is a small app to manage life events as travels etc...https://github.com/qeude/events-appDo you have any advices about good practices maybe or how I could make it better ?I still have some things to add as :- the location of an event- some improvements about state management- improve the image selection- improve the hero animation​Thank you in advance. :)

May 06, 2019 at 01:35PM by nitneuqedue
http://bit.ly/2DOsyY0
New post on Flutter Dev Google group:

Circular progress indicator for http.post and webview in flutter
I am new to flutter. Please help me with these two cases. a. I am doing an http.post request to an API in flutter which returns some value. I want to add a circular progress bar unless the value is returned from the API. How to do that ? b. I am using web view in flutter to view html pages. I

May 06, 2019 at 02:17PM by Niladri Paul
http://bit.ly/2H5RqfV
New post on /r/flutterdev subreddit:

Wallpaper app made with Flutter.
Wallpaper app made with Flutter.Concepts used:1.State Management using BLoC pattern2.Dynamic Theming3.Navigation Using PageViews and BottomNavigationBarSource Code : https://github.com/bimsina/wallpaper

May 06, 2019 at 02:35PM by bimsina
http://bit.ly/2ViFq3p
New post on /r/flutterdev subreddit:

How to manage multilingual app?
Hi, I'm developing a social network app and I need to show many text boxes in at least English, Spanish, Italian, French and German. What's the best practice to do that in Flutter (without writing many many many if-else blocks in the code)? Is there any 3rd party plugin?Thanks

May 06, 2019 at 04:06PM by lemel94
http://bit.ly/2VKnUoi
New post on /r/flutterdev subreddit:

Options to Animate in Flutter
http://bit.ly/2H6oi8u

May 06, 2019 at 05:08PM by Elixane
http://bit.ly/2PRQlLp