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

Run scripts during build
Hi I am searching for a solution which is running during the build of the app. I need to download a few JSON translations files into a specific asset folder. I read about build_runner but I am not sure if this is the right approach. Just calling a shell script to download the files and put it

December 10, 2020 at 11:16AM by Christoph
https://ift.tt/3m43yzs
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