Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
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
New post on Flutter Dev Google group:

Can I place ads every 4 grids on the GridView?
[image: bbb.png] I looked for a reference for applying this to Flutter, but it didn't really help. Maybe you can help me to create a GridView that is inserted with an ad every 4 grids.

August 27, 2020 at 10:46AM by Serarinne
https://ift.tt/3gzYX5h
New post on Flutter Dev Google group:

Whatsapp community for developers
Deve*lopers View Point* Hello Everyone. Are you a developer or beginner in development. Is you got any problems on development and need help from others . So here comes Developers View Point (DVP) . Dvp provides several Global community for developers who need solutions on problem. And support

August 27, 2020 at 10:48AM by Vishnu Suresh
https://ift.tt/2EHNC60
New post on Flutter Dev Google group:

Exception : Gradle task assembleDebug with exit code -1. Can anyone help me with this!
Hey, I'm a flutter beginner. I just started studying flutter last month. Whenever I'm running the program, this exception occurs. I can't do anything because of this. I tried a lot and searched the internet but all just fails. Anyone can help me out of this!

August 27, 2020 at 11:39AM by Mohamed Rihan K
https://ift.tt/3b7YQg3
New post on /r/flutterdev subreddit:

Miniplayer functionality in flutter
I've created a package to simply create a miniplayer in flutter. This post is especially interesting for everybody who develops a flutter app with the ability to play media such as a music player.pub.dev/packages/miniplayer

August 27, 2020 at 12:38PM by VELSEM_
https://ift.tt/2D7fcZU
New post on Flutter Dev Google group:

Error with agora rtc engine plugin when release for iOS
Hi, dear community. I am working on an app using Agora RTC video conference service. It was released for Android well but for iOS I am living the next problem when I *flutter build iOS* Xcode version: 11.3.1 Flutter: 1.12.13+hotfix.9-pre.1 agora_rtc_engine: 1.0.12 Failed to build iOS app

August 27, 2020 at 01:47PM by Luis Ernesto Páez
https://ift.tt/2YCyQV0