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

Constantly getting this Type error while making a Flutter App
​I am trying to Impelement this code from NetNinjas Playlist of Flutter + FireBase but getting this errortype '_MapStream<QuerySnapshot, List>' is not a subtype of type 'Stream<List>'https://www.youtube.com/watch?v=ggYTQn4WVuw&list=PL4cUxeGkcC9j--TKIdkb3ISfRbJeJYQwC&index=19firebase

December 10, 2020 at 05:36PM by Electrical_Cry9469
https://ift.tt/2IzuQjh
New post on /r/flutterdev subreddit:

Can both cameras stream live in Flutter in iOS 13+?
Is there a way to stream from both cameras simultaneously? The camera plugin can show both cameras but seems to only show live video from one and still from the other unless my code is wrong. iOS 13+ has AVCaptureMultiCamSession and apps like DoubleTake from FILMiC Pro can do it.This is what I tried:
import 'dart:async'; import 'package:camera/camera.dart'; import 'package:flutter/material.dart'; List<CameraDescription> cameras; Future<void> main() async { WidgetsFlutterBinding.ensureInitialized(); final cameras = await availableCameras(); final firstCamera = cameras.first; final secondCamera = cameras[1]; runApp(CameraApp( camera: firstCamera, secondCamera: secondCamera, )); } class CameraApp extends StatefulWidget { final CameraDescription camera; final CameraDescription secondCamera; const CameraApp({ Key key, u/required this.camera, u/required this.secondCamera, }) : super(key: key); u/override _CameraAppState createState() => _CameraAppState(); } class _CameraAppState extends State<CameraApp> { CameraController controller; CameraController controller2; u/override void initState() { super.initState(); controller = CameraController(widget.camera, ResolutionPreset.medium); controller2 = CameraController(widget.secondCamera, ResolutionPreset.medium); controller.initialize().then((_) { controller2.initialize().then((_) { if (!mounted) { return; } setState(() {}); }); }); } u/override void dispose() { controller?.dispose(); controller2?.dispose(); super.dispose(); } u/override Widget build(BuildContext context) { if ((!controller.value.isInitialized) || (!controller2.value.isInitialized)) { return Container(); } return Column( children: [ AspectRatio( aspectRatio: controller.value.aspectRatio, child: CameraPreview(controller), ), AspectRatio( aspectRatio: controller2.value.aspectRatio, child: CameraPreview(controller2), ), ], ); } } 


December 10, 2020 at 07:25PM by pr0fess0r
https://ift.tt/2VZDZ83
New post on /r/flutterdev subreddit:

Flutter Cracow meetup #4 - Custom Painting & Perfect Scrolling
https://www.youtube.com/watch?v=PVDB8u_RFvA

December 10, 2020 at 09:29PM by Elixane
https://ift.tt/3n8scjJ
New post on /r/flutterdev subreddit:

Retrofit — The easiest way to call Rest APIs in Flutter
https://ift.tt/3njrH6c

December 10, 2020 at 05:44AM by meterryjoshua
https://ift.tt/3oHlUYw
New post on /r/flutterdev subreddit:

Building A Podcast App - Sign In UI
https://ift.tt/2W2iW4B

December 09, 2020 at 08:16PM by DoPeopleEvenLookHere
https://ift.tt/3m61qqI
New post on /r/flutterdev subreddit:

Open Source chat Application built in Flutter with Firebase
This is open source chat application I build with flutter on Github :
https://github.com/hosain-mohamed/Flutter-chat-AppIt has the following features :- Sign in - SignUp - logout .
- linking with Firebase Authentication system.
- client and backend validation during logging and register.
- search by name of users.
- real-time send and receive messages using stream and linking with Firebaes Firestore database.
- viewing profile page and able to edit info and upload images.
- use pagination for showing the messages and also for friends list.
- nice looking UI and user-friendly animation with a splash screen at the beginning.
- using Bloc for state management.
- using Get-it as a Service Locator for dependency injection.I hope it would be useful for all using #FlutterDev
#Flutter

December 10, 2020 at 10:21PM by Crafty-Daikon-828
https://ift.tt/3n9aj43
New tweet from FlutterDev:

📦 This week, 34 packages published null safety versions on https://t.co/XAGXN50me3.

Among them: provider, mime, sprintf, and recase. This takes us to 279 null-safe packages!

Dig into the stats here &rarr; https://t.co/as2v3Q19fK— Dart Language (@dart_lang) December 10, 2020

December 11, 2020 at 12:19AM
http://twitter.com/FlutterDev/status/1337175249847078913
New post on Flutter Dev Google group:

Flutter 1.22.5 hotfix released to the stable channel.
*Hi,Flutter 1.22.5 has been released to stable. This is a hotfix release on the 1.22 branch. Dart 2.10 was not updated in this hotfix, Dart 2.10.4 is still the current stable version. Changes for this build are listed below and are available on the Flutter Wiki here: Hotfixes to the Stable

December 11, 2020 at 12:14AM by Patrick Sosinski
https://ift.tt/2W0xqBV
New post on /r/flutterdev subreddit:

Gitter joins Matrix and FluttfyChat is promising
Gitter now joins Matrix protocol community: https://matrix.org/blog/2020/12/07/gitter-now-speaks-matrixIn all the open source Matrix clients: https://matrix.org/clients/there is FluttfyChat by Flutter for all platforms: Android/iOS/Web/macOS/Windows/Linuxhttps://matrix.org/docs/projects/client/fluffychatWhat do you think?

December 11, 2020 at 12:48AM by sunbreakwang
https://ift.tt/37WL7HX
New post on /r/flutterdev subreddit:

Chess game in flutter?
I want to develop a chess game.
Can you please share some of the idea and tutorial to develop a chess game with AI?I believe developing the board and moving the pieces will be easier but implementing AI is going to be tough.

December 11, 2020 at 06:35AM by mahesh2150
https://ift.tt/341Da2Y
New post on Flutter Dev Google group:

popup on the map markers
Hello ,Anyone please help me to show the popup message on flutter map markers. Future getData1 (String NElat,String NElong,String SWlat,String SWlong) async{ Map
New post on /r/flutterdev subreddit:

Optimized Implementation of a Flutter Chat App with Firebase
Hello,I have very recently started learning Flutter development. I have completed Angela Yu's Flutter course. I am building a dating app, and I wanted to (obviously) build some chat functionality into it.Angela Yu's course does cover a group chat app, and the Firebase backend of the app was remarkably simple to implement. This community also seems to be rich in Chat app implementations.However, I've noticed that most of these posts have comments stating Firebase's tendency to skyrocket costs, and the implementations not being optimized. Unfortunately, most of these comments didn't substantiate exactly what they meant. I, therefore, had three questions:Can someone please explain the optimizations being talked about, and the shortcomings to these implementations?
(For context, one commenter stated that any chat app with more than 10 users will accrue significant costs, the read/write pricing model of firestore is not ideal for chat apps, etc.)Could someone please direct me to resources or tutorials where I can learn more about this? I'd also be grateful if you could direct me to an optimized implementation of a chat app that could handle a few thousand users under, say, $1000/month?If Firebase cannot do (2), what according to you would be better ways to go about approaching the backend? I do know a decent amount of Python. I was thinking if learning the Django Rest Framework, and building the backend myself would be more beneficial in the long run.Thank you for your time and support!

December 11, 2020 at 09:19AM by tegridyfarms96
https://ift.tt/3qMqtCL
New Flutter offer 🔥🔥

Hi guys! We are a small boutique dev shop creating MVPs for US startups.
Our go-to stack is flutter + openapi + django + google cloud.

We are looking fo a med/senior/architect flutter programmer to work with us long-term full time on various projects.

✈️ You can work wherever you work and whenever you work - the only condition is quality code.
💶 Compensation is in accordance with experience/code quality/productivity.
✍🏻 If you are looking for a really cool work and has production experience with flutter native + web, bloc, localisation, theming and navigator 2.0 and preferably has already released some flutter libraries in open source we’d like to see your latest flutter code using the above technologies. After that we’d like to sign an NDA and ask you to do a short 4 hours test job on an actual project.
One of our startups is https://aahi.io (see the web apps https://aahi.app and https://sell.aahi.io)

For more information go to @flutteroffers
Feel free to reach out to me directly after you submit your application here on telegram @sofiakho
New job offer available at @flutteroffers 🔥