Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New tweet from FlutterDev:

We just launched a new showcase page!

Get inspired by the beautiful apps organizations are building with Flutter. Check out testimonials, videos, and resources from top companies around the world.

It's live here → https://t.co/uMXvDAqLXO pic.twitter.com/5tdf5hhtLd— Flutter (@FlutterDev) September 26, 2019

September 26, 2019 at 09:01PM
http://twitter.com/FlutterDev/status/1177297072577490944
New post on /r/flutterdev subreddit:

Writing a UI in code?
I just started using flutter and have been somewhat put off by the fact that the UI needs to be entirely built through code. The nightmares of Java Swing came flooding back and I wanted to know anyone else's opinion on it and if you enjoy using it. What do you think?

September 26, 2019 at 11:17PM by Forumpy
https://ift.tt/2nCeXxQ
New post on /r/flutterdev subreddit:

Does anyone know how to debug an application in raspberry pi interface?
I seen videos of flutter on raspberry pi, but haven't seen a step by step tutorial on it. Anyone know any good links or have a quick guide to get started?

September 27, 2019 at 12:25AM by mikeyyg58
https://ift.tt/2nyIgkF
New post on /r/flutterdev subreddit:

Does Flutter web works only in chrome.?
Hi, Anyone experienced develope web app with Flutter? Is it working in another browsers fine same as chrome

September 27, 2019 at 10:24AM by Thiszmyusername
https://ift.tt/2lxMRD7
New post on /r/flutterdev subreddit:

Use C/C++ code in your Flutter app: Binding to native code using dart:ffi
https://ift.tt/2m45iQi

September 27, 2019 at 10:01AM by EngineerScientist
https://ift.tt/2mfXLxA
New post on /r/flutterdev subreddit:

Future<HttpClient> is not a subtype of HttpClient
​​import 'dart:io';import 'package:dio/dio.dart';import 'package:flutter/material.dart';import 'package:flutter/services.dart';import 'package:flutter_app_retrofit/example.dart';class Homepage extends StatefulWidget {@overrideHomepageState createState() => HomepageState();}class _HomepageState extends State<Homepage> {@overrideWidget build(BuildContext context) {return Scaffold(backgroundColor: Colors.white,body: Center(child: FutureBuilder(future: this._getPosts(),builder: (context, snapshot) {switch (snapshot.connectionState) {case ConnectionState.none:return CircularProgressIndicator();break;case ConnectionState.waiting:return CircularProgressIndicator();break;case ConnectionState.active:return CircularProgressIndicator();break;case ConnectionState.done:return CircularProgressIndicator();break;default:return CircularProgressIndicator();}},),),);}Future _getPosts() async {final dio= Dio();(dio.httpClientAdapter as DefaultHttpClientAdapter).onHttpClientCreate = await (client) async {SecurityContext securityContext=new SecurityContext();final ByteData crtData = await rootBundle.load('assets/server.crt');securityContext.setTrustedCertificatesBytes(crtData.buffer.asUint8List());final ByteData keyBytes = await rootBundle.load('assets/server.key');securityContext.usePrivateKeyBytes(keyBytes.buffer.asUint8List());return HttpClient(context: securityContext);};final client = RestClient(dio);client.login('ma******han@****.in', '88888');}}​​In flutter we are getting using Dio. I am getting a error using Dio The problem is here that i need to use SSl certificate So i used Dio But now i am getting the below error. Unhandled exception Future<HttpClient> is not a subtype of HttpClient.

September 27, 2019 at 11:06AM by Durgeshn70
https://ift.tt/2meWDui
New post on /r/flutterdev subreddit:

Are you a flutter developer ? Did you use build_value or moor ? Do you want to see our to generate dart code using an annotation ? Here's my new blog post about it, check it out
https://ift.tt/2lESwaE

September 27, 2019 at 01:25PM by bitsydarel
https://ift.tt/2ndm5AE
New post on /r/flutterdev subreddit:

Custom ScrollPhysics
Hi,Does anybody have some good resources that explain how you can create your own custom ScrollPhysics?
The most advanced one I found was a YouTube video from Tensor Programming.In particular we are interested in how you can create a snapping behaviour similar how it works in Android using the SnapHelper in a RecyclerView.
Ideally we want to use this Custom Snapping Scroll Physics in a horizontal ListView that can handle items of different widths.Anybody else having trouble with the limited info about this API?

September 27, 2019 at 02:54PM by timrijckaert
https://ift.tt/2m8p4dv
New post on /r/flutterdev subreddit:

Usage of platform channels for push notifications with image and actions
Hey, a project requires an images ability to and add it to let's say "favorites".Did a lot of research, found only way to do this would be using native code(correct me if i'm wrong), so getting a "data" only payload for android ( not versed in ios dev, so didn't look into that part yet) and sharing the info to the channel somehow is the way to goMy main question is, since platform channels use main thread:
Even though Flutter sends messages to and from Dart asynchronously, whenever you invoke a channel method, you must invoke that method on the platform’s main thread as stated here:
"https://flutter.dev/docs/development/platform-integration/platform-channels#architectural-overview-platform-channels"
won't there be any noticable lag for the user? For example he is in the middle of scrolling a listview, and notification comes. New to flutter, no experience with channels so far, so that's quite an important thing for me to know.If anyone has experience in doing such, any pitfalls, advices or links to the projects with such would be much appreciated.Thanks in advance!

September 27, 2019 at 04:25PM by skyyoo_
https://ift.tt/2nbpZd8
New tweet from FlutterDev:

When creating a new app, would you like to set the application ID in Android and bundle ID in iOS?

Use the --org option with the Flutter command line!#FlutterFriday pic.twitter.com/QRSav9hBLu— Flutter (@FlutterDev) September 27, 2019

September 27, 2019 at 06:00PM
http://twitter.com/FlutterDev/status/1177613878366281729
New post on /r/flutterdev subreddit:

BACK BUTTON INTERCEPTOR: Widgets that interact with the Android back button can use the BackButtonInterceptor (instead of WillPopScope): You may add functions to be called when the back button is tapped. They may perform some useful work, and may return true to prevent the route pop.
https://ift.tt/2Mg3sXP

September 27, 2019 at 06:05PM by marcglasberg
https://ift.tt/2neANax
New post on Flutter Dev Google group:

Firestore runTransaction never runs (Hung)
Hi again My transaction code has been running fine for months and suddenly the transactions are simply not running. No exceptions no logcat output no nothing. Just never returns or invokes the callback. Seems like its stuck waiting. There are no other firestore operations occurring at the same

September 27, 2019 at 07:09PM by Antonio Gomez
https://ift.tt/2lKMPbg
New post on /r/flutterdev subreddit:

60 Days of Flutter : 'Building a Messenger from Scratch' : Day 39–41 : One UI Inspired Attachments Showcase Page
https://ift.tt/2lEsiVC

September 27, 2019 at 07:03PM by aditya_gurjar
https://ift.tt/2lC8i5Y
New tweet from FlutterDev:

📺 🔬 The #BoringShow is experimenting.

To be more efficiently boring, we sped up this episode by 20% while looking into isolates and multithreading:

💡 Did you know?
If you use Flutter/Dart, you've run code in an isolate!

Watch here &rarr;https://t.co/MmJ7DRSZro pic.twitter.com/Z2HBfg9BCg— Flutter (@FlutterDev) September 27, 2019

September 27, 2019 at 08:37PM
http://twitter.com/FlutterDev/status/1177653501209534464
New post on /r/flutterdev subreddit:

Position offset in canvas based on Max, Min value ?
How to calculate the position offset in canvas based on Max and Min value (custom Painting) widget? And how to calculate number of horizontal lines based on the same Max and Min values?

September 27, 2019 at 07:45PM by KELEVERA-L
https://ift.tt/2nghdun