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

Websocket in flutter with SSL and subscribe to a topic
Hi all I am tying to implement a code with flutter to connect a sever using webscoket but i can't get a link to subscribe a topic as well as implement ssl to connect.

August 26, 2020 at 01:32PM by Bichitra Pradhan
https://ift.tt/32uqQ9B
New post on /r/flutterdev subreddit:

Issue of AVD Manager (Unable to locate adb)
Hello i am new to flutter and android studio and i have got this error. I have already reinstall the platform-tool in SDK folder and the error still there. Is that concern with android studio newer version on mac? or is there any other way to try?

August 26, 2020 at 03:19PM by AungHeinHtet_3
https://ift.tt/2D0ZxLv
New post on Flutter Dev Google group:

is possible open widget just one time without using flag ( like boolean )
i made a widget that opens when satisfying some condition. but that condition keeps maintained and popup open continuously . how can i open just one time without using flag?

August 26, 2020 at 03:41PM by Jaesang Song
https://ift.tt/32sOBir
New post on Flutter Dev Google group:

events
Can I listen to system events?, such as on closing the application I want something to happen before it is shut down.

August 26, 2020 at 04:47PM by barak taya
https://ift.tt/2Emet7Q
New post on /r/flutterdev subreddit:

<b>Impressions after switching from Xamarin and developing an app with Flutter</b>
I have background in Xamarin.Forms development (<a href="https://github.com/maxim-saplin/CrossPlatformDiskTest">app1</a> with over 100k installs, <a href="https://github.com/maxim-saplin/xOPS-App">app2</a>). Some time ago while experimenting with <a href="https://www.reddit.com/r/FlutterDev/comments/gztwcu/flutter_performance_considerations_vs_react_and/">Dope Test</a> I got interested in Flutter and decided to give it a try.I've created a <a href="https://github.com/maxim-saplin/dikt">Dictionary app</a> I always missed (used ColorDict before, though was not happy with usability and looks of it).A short summary, <strong>I'm very excited and inspired by Flutter, no comming back to Xamarin and looking forwad to new features and capabilities!</strong>&#8203;<strong>What I liked:</strong>Awesome quick start <a href="https://flutter.dev/docs/get-started/flutter-for/xamarin-forms-devs">docs for Xamarin.Forms devs</a>Way more offten you get what you expect with Flutter than with Xamarin.It's just more stable and predictableI feel like there's more prodiuctivity and less bugs with F&#1076;utterWay fewer occasions of searching for some failures in Xamarin tooling and/or framework (e.g. after VS for Mac or Nuget upgrade, or minor changes to configs/sources in project) that suddenly break smth in the app.Nice YouTube videos explaining widgets and other dev topicsFlutter's framework and plugins complete sources are always local:Easy to step-into and debugOne can easily copy framework/plugin-in code to project directory and change it. Here's what I changed:Flutter's <code>SimpleDialog</code> to allow CustomScrollView inside<code>hive-1.4.1+1</code> to allow non ASCII chars in key value<code>reorderables-0.3.2</code> to implement the scenario of moving an item out of the list and dropping it on 'Delete' areaFirebases's <code>AnalyticsObserver</code> class that can now register ShowDialog navigation eventsLocalization with <code>i18n_extension</code> is more fun than C#/RESX approachHot reload and restart, tinkering with UI is so much faster/easier<a href="https://pub.dev">https://pub.dev</a> is more useful than <a href="https://www.nuget.org">https://www.nuget.org</a> (good search, conveniet integrated docs)Android app size is smallerDecalrative React/JSX style of building the UI is cleaner than XAML + C# code-behindI found Dart very close to C# and easy to start, with me it was faster to grasp rather than KotlinCurious abstraction for integers. There's single <code>int</code> type, there're no <code>byte</code>, <code>long</code> and other kinds of type sizes. Yet there's <code>Uint8List</code> collection type to deal with binray streams.&#8203;<strong>What I didn't like:</strong>Always felt handicapped with ecosystem's philisophy towards multithreading, out of 8 cores on my phone only 1 is effectively available to my code:Isolates model is very limitted. There's no memory sharing, marshaling of only primitive types and collections is available (Dart VM allows marshaling complex objects, not Flutter though)Some framework features and plugin-ins can't be utilized in Isolates:HiveDB can't load different boxes in separate isolates. Although each box is a separate file and there're very few sync issues, there're no quick workarounds that may allow parallel lazy loading of boxes (each in a separate isolate).Loading bundled assets (e.g. <code>rootBundle.loadString(asset)</code> ) in isolates is not possibleThere're several heavy weight scenarious (indexing dictionaries, cold start of app and initializing HiveDB) that could easily be sped up 4-6x times with proper multuthreading<code>StatefulWidget</code> doesn't have <code>build</code> method, due to some (not quite straightforward) implmementation details of Flutter widget tree must be built in <code>State<T></code>MS docs are still better and more complete than Flutter's official…
New post on Flutter Dev Google group:

Accessing camera settings
Can I access my Android/iOS native camera settings from flutter App? Eg : Turn On/Off flash,changing resolution,Zoom In/Out,AI, Timer,Enabling night mode etc

August 26, 2020 at 08:48PM by Sajin J S
https://ift.tt/3jbdQfU
New post on /r/flutterdev subreddit:

Flutter query
Is ther any package to add multiple filters in video ? Or any suggestion to fetch all frames of video?

August 27, 2020 at 12:26AM by KamleshPawar1234
https://ift.tt/3hyzU3A
New post on /r/flutterdev subreddit:

Defining a new .dart file to the main.dart file
I have a problem when creating a new dart file instead of main.dart.`import 'package:flutter/material.dart';​class LCPage extends StatelessWidget {​void AccountManagement(){print("Manage Your Account");}​void AvailableAreaSearching(){print("Search for an Available Area");}​void ItemTapped(int index){setState(() {_selectedIndex = index;});}​u/overrideWidget build(BuildContext context) {// TODO: implement buildreturn Scaffold(appBar: AppBar(actions: <Widget>[IconButton(icon: Icon(Icons.account_box),tooltip: "Account Management",onPressed: AccountManagement,),IconButton(icon: Icon(Icons.search),tooltip: "Search for an Available Area",onPressed: AvailableAreaSearching,),],),body: Center(child: RaisedButton(onPressed: () {Navigator.pop(context);},child: Text("Go Back"),),),​bottomNavigationBar: BottomNavigationBar(items: <BottomNavigationBarItem> [BottomNavigationBarItem(icon: Icon(Icons.home), title: Text("Home")),BottomNavigationBarItem(icon: Icon(Icons.announcement), title: Text("Announcements")),BottomNavigationBarItem(icon: Icon(Icons.add_call), title: Text("Contact Us")),],currentIndex: _selectedIndex,onTap: ItemTapped,fixedColor: Colors.blue,),);}}`​The problem is that`setState(() {_selectedIndex = index;});}`​and`currentIndex: _selectedIndex,`can't be defined in this new dart file while they can be defined in main.dartmy question is what is wrong with my code?Thanks.

August 27, 2020 at 12:19AM by DiyarJ
https://ift.tt/2Qqkoeb
New post on Flutter Dev Google group:

Flutter - Video Editor
I want to edit my video with multiple filters. Is there any package available or any suggestions?

August 27, 2020 at 01:10AM by Vrushabh Desai
https://ift.tt/3hwAT4B
New post on /r/flutterdev subreddit:

Today I just re-run an old app our team built last year. Flutter is awesome!
https://www.youtube.com/watch?v=UzBPYW3HXoo

August 27, 2020 at 09:41AM by tranhuyphuc
https://ift.tt/2Qx4j6s
New post on Flutter Dev Google group:

Live tracking
Is it possible to live tracking in flutter? I want to help about live tracking because I am new in flutter. Any library or tutorial?

August 27, 2020 at 09:19AM by john786
https://ift.tt/3lkOjCV
New post on /r/flutterdev subreddit:

This is a demographic chart our team (Nextfunc - https://nextfunc.com) built last year. We used Animation, AnimationController, Curves and maths. We will refactor the code and open source the chart part soon!
https://www.youtube.com/watch?v=UzBPYW3HXoo

August 27, 2020 at 10:22AM by tranhuyphuc
https://ift.tt/3bcFeYp