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

FlutterForce — Week 120
https://ift.tt/3be3ryz

May 09, 2021 at 01:51PM by flutterist
https://ift.tt/3f2KsIt
New post on /r/flutterdev subreddit:

Spring 2.0 is here(A simple & powerful pre-built animation kit)
https://ift.tt/2yI8czR

May 09, 2021 at 05:12PM by Kaushick_S_Argekar
https://ift.tt/3euTIG4
New post on /r/flutterdev subreddit:

hopOn - Car Sharing and Rental Flutter App
hopOn is flutter based application for car sharing and rental services. It uses Firebase as a database and Google Maps APIs.The two main functions that app includes are -Rent a nearby carGive your car on rentThe app uses 3 Google Maps APIGeocoding API (provides geocoding and reverse geocoding of addresses)Places API (returns information about places using HTTP requests)Directions API (returns JSON or XML-formatted directions between locations)Please Find this Github repository for all the other information(App videos, APIs, Methods etc.)- hopOn - GithubDo the repository.

May 09, 2021 at 05:12PM by Shivani-OP
https://ift.tt/3y0JLI4
New post on Flutter Dev Google group:

Contact - Flutter Logic, State Management & Backend Connection
Hello Flutter Developers, I am a newbie to flutter and after paying everything I had for possibly the worst code I have ever seen in my life, I decided I needed to set things straight before I hired again because I lost even more money trying to hire someone to fix the code and didn't get any

May 09, 2021 at 10:34PM by Tracy Foran
https://ift.tt/3uCsXFl
New post on /r/flutterdev subreddit:

If I would like to build my Flutter App for Production to deploy in web, mobile and desktop is this now production recommended or still in test?
I know desktop has been in test, wondering when production is recommended.

May 10, 2021 at 12:43AM by alienalgen94
https://ift.tt/3vUnXvW
New post on /r/flutterdev subreddit:

How to Make HTTP Request to In Flutter Web ? - Flutter Agency
https://ift.tt/3tx5p3l

May 10, 2021 at 08:10AM by lil_dragplix
https://ift.tt/3tF56nm
New post on /r/flutterdev subreddit:

In App Notification Badge advice needed
Hi, we posted this a few days ago.​We need some urgent advice to help us complete an app based the buddyPress site we launched years ago, that will look like this.https://i.ibb.co/rxXN9NG/image-2021-05-06-T05-11-40-687-Z.pngThe badges on the notification will displaynumber of new messages not yet opened by user.new friend requestnew posts on the forums the user follows.As the user checks these new messages, the count displayed in the badge will go down.Something like this:https://i.ibb.co/txsQ2n6/image-2021-05-06-T05-04-40-027-Z.png]Or if updating the count is complex, we can go with a badge that clearly indicates there are new messages waiting to be checked.Like thishttps://i.ibb.co/0QfC1nD/hudl-notifications-2x.pngWe would like to implement something that is simple and robust without much change to our codes already built.Your suggestion is greatly appreciated.Jing

May 10, 2021 at 07:25AM by Business-Fun1469
https://ift.tt/3hfh4S6
New post on Flutter Dev Google group:

Regarding SharedPreference
Hello All, I have implemented SharedPreference. The logic is I have filled the TextBoxes with values I am getting from SharedPreference. The problem is, I cannot edit the values in TextBoxes now. Please help me out. Here is my code// import 'dart:convert'; import 'package:conqer_music/App/M

May 10, 2021 at 09:07AM by HIMANSHU MISHRA
https://ift.tt/3o1miC2
New post on /r/flutterdev subreddit:

<b>Flutter webrtc multiple peer connection</b>
I am trying to make 3 peer video chats using Webrtc in Flutter. A needs to see B and C. B needs to see A and C. C needs to A and B. I also use socket.io for the signaling server. I used 2 peer connections. two peer connection is successful. When I tried to connect the third one and tried to pass offer I got an error.&#8203;<strong>to execute 'createAnswer' on 'RTCPeerConnection': PeerConnection cannot create an answer in a state other than have-remote-offer or have-local-pranswer.</strong>is my approach is bad for multiple peer connection? I also posted in stackoverflow.<a href="https://stackoverflow.com/questions/67465534/multipeer-connection-webrtc-flutter">https://stackoverflow.com/questions/67465534/multipeer-connection-webrtc-flutter</a>No answer.<code>import 'dart:convert';import 'package:flutter/material.dart';import 'package:flutter_webrtc/flutter_webrtc.dart';import 'package:sdp_transform/sdp_transform.dart';import 'package:socket_io_client/socket_io_client.dart' as IO;class Home extends StatefulWidget {final String title;const Home({Key key, this.title}) : super(key: key);<a href="/u/override">u/override</a>_HomeState createState() => _HomeState();}class _HomeState extends State<Home> {bool _offer = false;bool firstTimeOffer = true;bool firstTimeRemoteDescription = true;bool firstTimeAnswer = true;bool firstTimeCandidate = true;RTCPeerConnection _peerConnection;RTCPeerConnection _peerConnection2;MediaStream _localStream;final _localVideoRenderer = new RTCVideoRenderer();final _remoteVideoRenderer = new RTCVideoRenderer();final _remoteVideoRenderer2 = RTCVideoRenderer();IO.Socket socket;var pcConfig = {};var candidates = [];final txtController = TextEditingController();<a href="/u/overridevoid">u/overridevoid</a> dispose() {txtController.dispose();_localVideoRenderer.dispose();super.dispose();  }<a href="/u/overridevoid">u/overridevoid</a> initState() {initRenderers();_createPeerConnection().then((pc) {_peerConnection = pc;    });_createPeerConnection2().then((pc) {_peerConnection2 = pc;    });_getUserMedia();connectToServer();super.initState();  }void connectToServer() {// connectToServer();socket = IO.io('http://localhost:3000', <String, dynamic>{'transports': ['websocket'],'autoConnect': false,    });socket.connect();socket.onDisconnect((_) => print("disconnected"));socket.on('connection-success', (data) => print(data));socket.on('offerOrAnswer', (sdp) async {this.txtController.text = sdp;    });socket.on('candidate', (candidate) {// print('From Peer.....');// print(json.encode(candidate));this.candidates = [...this.candidates, candidate];    });  }_getUserMedia() async {final Map<String, dynamic> mediaConstraints = {'audio': false,'video': {'facingMode': 'user'}    };MediaStream stream =await navigator.mediaDevices.getUserMedia(mediaConstraints);_localVideoRenderer.srcObject = stream;//  _localVideoRenderer.mirror = true;return stream;  }initRenderers() async {await _localVideoRenderer.initialize();await _remoteVideoRenderer.initialize();  }_createPeerConnection() async {Map<String, dynamic> configuration = {"iceServers": [        {"url": "stun:stun.l.google.com:19302"},      ]    };final Map<String, dynamic> offerSdpConstraints = {"mandatory": {"OfferToReceiveAudio": true,"OfferToReceiveVideo": true,      },"optional": [],    };_localStream = await _getUserMedia();RTCPeerConnection pc =await createPeerConnection(configuration, offerSdpConstraints);//  if (pc != null) print(pc);pc.addStream(_localStream);// triggered when a new candidate is returnedpc.onIceCandidate = (e) {//send the candidates to the remote peer// see addCandidate below to be triggeredif (e.candidate != null) {var candidate = {'candidate': e.candidate.toString(),'sdpMid': e.sdpMid.toString(),'sdpMlineIndex': e.sdpMlineIndex        };print(e.candidate);this.sendToPeer('candidate', candidate);      }    };pc.onIceConnectionState = (e) {print(e);    };pc.onAddStrea…
New post on /r/flutterdev subreddit:

Google I/O schedule. Your Opinion?
I looked at the schedule for Flutter talks @ I/O and frankly, I'm a bit disappointed.Are you looking forward to I/O 2021?Because of Google's policy of no commitment to release dates or feature roadmaps, those Fireside chats and developer chats cannot answer my important questions.At least that full-stack AMA might be interesting in that it has the potential to raise attention for using Dart on the server side.Personally I'm also not interested in beginner or intermediate level talks and would welcome more advanced topics. You "milage" might vary here.Because I closely follow the master branch and I don't think that Google is secretly developing the next big thing, I also don't expect big news from the "What's new in Flutter" talk.We'll probably get a new stable version based on the current master and they might declare Dart 2.13 (which is already superseeded by 2.14 - a victim of silly superstition?) or Dart 2.14 as stable.I'd love to be surprised with a fully featured desktop Look & Feed similar to Material Design for macOS, Windows, or Ubuntu. I'd also love to get a much needed multiple windows mode. Then of course, there's the always present wish for better 1st party plugins. At least, Google continues to invest in Flutter and we all can base our businesses on Flutter's technology for another year ;-)

May 10, 2021 at 12:24PM by eibaan
https://ift.tt/3o6zdmu
New post on /r/flutterdev subreddit:

Flutter Tap Weekly Newsletter Week 84 Tutorials, videos, packages, and much more!
https://ift.tt/3xWMYsi

May 10, 2021 at 02:55PM by vensign
https://ift.tt/3hjYM1R