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

Flutter Tap Newsletter - Week 9
https://ift.tt/33PpuFK

October 21, 2019 at 02:06PM by vensign
https://ift.tt/2qs8WVK
New post on /r/flutterdev subreddit:

Top 10 reasons for developing your e-commerce app on Flutter
https://ift.tt/2MSAIlK

October 21, 2019 at 02:01PM by citrusleafin
https://ift.tt/2BtoomG
New post on /r/flutterdev subreddit:

How to export ListView to PDF?
Hi Everyone!I have shopping list app with ListView of shopping list (for example egg water oil…). This is display on screen no problem.But I want allow user share this list. So I need export this as PDF/PNG/JPG. Screenshot not work because list can be longer than screen.How I can do this?Thank everyone!

October 21, 2019 at 12:58PM by Flutter_Dev
https://ift.tt/31yVZX8
New post on /r/flutterdev subreddit:

#19 CircleAvatar Flutter Widget
https://youtu.be/3mVrvshB40I

October 21, 2019 at 12:36PM by systechdevelopers
https://ift.tt/2MYnPGT
New post on /r/flutterdev subreddit:

Firebase Authentication and flutter test
Hi FlutterDevs!I am fairly new to Flutter. One of the first things I attempted was a basic login flow for a Firebase app using Google, Facebook and email authentication. It worked great (well, a few problems with flutter_facebook_login that the author fixed quickly).I like having 100% code coverage for tests. For a while, I resigned myself to using flutter drive. I went so far as to set up dedicated CI runners with emulators active for the driver to run on and it is very nice, but there is no code coverage reporting with flutter drive. I like to know when I make a change that is potentially untested. I also like my tests to complete quickly, and flutter drive on an emulator is not exactly speedy-turnaround on changes.There was a lull between sprints to take some time out to try to tackle the problem. There was one esoteric reference to platform channels on one comment on one bug report hiding some pages down on a lucky Google search about the problem. Mockito and other mocking approaches just did not provide the degree of coverage required, but hijacking the device platform channels seemed like the "correct" way to go about it.The product of that lull between sprints was a pretty generic authentication package that has the option to run in a "mocked" mode under the test VM. Tests can even force the mocked platform channels to throw specific exceptions so the tests can easily trigger failure cases to achieve total code coverage.It does cover Facebook login, Google Sign-in, email sign-in, registering a new account via email, requesting a password reset email, and most of the error cases involved with those. It uses the Provider pattern, but also plays nicely with a Singleton pattern via GetIt.Instead of being "just another simple authentication" package, the important part is that it includes mocks for the platform channels so that firebase_auth, flutter_facebook_auth and google_sign_in can run under flutter test without rapid, unexpected disassembly on launch.For those that may also have run into this testing wall using Firebase for authentication, this might come in handy, if only to see how the platform channel mocks work to make your app testable with Firebase authentication.It is available on pub.dev as authenticator.The source repo, also listed on pub.dev, is available at gitlab.com/playscale-free/authenticator.I will likely, eventually use this for production unless someone more clever than myself (a low bar, to be sure) comes along with something better, or if someone in this sub can point me to a better wheel already made than the one I put together.I hope others can find this helpful. The Flutter community has been extremely helpful and encouraging as I learn an entirely different language, tool-set and libraries.

October 21, 2019 at 03:00PM by equatorcoder
https://ift.tt/32B8qmz
New post on Flutter Dev Google group:

Want to add Favorite functionality
I want to add an item to "Favorite" from list of items when i click on "Heart icon". Can i do this functionality in an offline Application. What are the essential steps to do it.

October 21, 2019 at 05:49PM by Mahender Kumar
https://ift.tt/31DPNgJ
New post on /r/flutterdev subreddit:

Flutter and NFC
Does anyone have an idea of how to use plugins like nfc_in_flutter and flutter_nfc_reader to solve this problem:I am building a social app, and want people to become friends when they tap on each other's phones. Is this even possible with flutter?

October 21, 2019 at 08:31PM by svsobh
https://ift.tt/31w2D0o
New post on Flutter Dev Google group:

Error that I can't fix - Complier Error
OK I'm still learning Flutter and i cant fix this error after updating Flutter Compiler message: ../../flutter/.pub-cache/hosted/ pub.dartlang.org/flutter_platform_widgets-0.12.0 /lib/src/platform_scaffold.dart:222:38: Error: The getter 'fullObstruction' isn't defined for the class 'Obstructing

October 22, 2019 at 03:00AM by Brennan Altringer
https://ift.tt/2MYVnoA
New post on /r/flutterdev subreddit:

Deployment to iOS & Android tutorial request!
I didn’t think I’d ever have a running app, with half the time that I spent on Ionic platform, I have an app ready to be launched to the App Store and Play Store! I’m beyond ecstatic! I was wondering if there was a good source that walks you through the steps to live deployment. Any suggestions are appreciated! This community is great.

October 22, 2019 at 03:16AM by ro_mo
https://ift.tt/2MCcJby
New post on /r/flutterdev subreddit:

macOS Flutter configuration help
Hi, I'm using the latest macOS Catalina with zsh as the Terminal, however when I tried to set flutter path to $PATH, I am able to return result with 'which flutter' when the Terminal is pointing at my user's root folder. However, when I open the terminal in a folder under [Disk drive name]-Data, it cannot find the location of flutter.I'm not sure what is happening and i really hope someone can shed some light to it, thanks.#And yes, I have followed the guides outlined by the official docs, and I've googled it to no avail.

October 22, 2019 at 05:52AM by fenrir0402
https://ift.tt/2MypB2C
New post on Flutter Dev Google group:

Show RTL menu in PopupMenuButton
How can I have menu items in PopupMenuButton displayed right-aligned in my RTL app? This was asked in https://ift.tt/2o61dvL, but no answer was given.

October 22, 2019 at 07:36AM by Shmulik Flint
https://ift.tt/33S7z13
New post on /r/flutterdev subreddit:

Flutter Head's up notifications are not appeared when app is killed
I followed the official doc. for implementing push notifications, i could handle foreground & background. But when app is terminated head's up notifications are not appeared. Could you please help me out. Do i need to add anything else to add at native side?

October 22, 2019 at 08:17AM by venkat-u
https://ift.tt/31DytYW
New post on /r/flutterdev subreddit:

<b>Using Flutter In Mobile App Development</b>
iOS and Android are the fundamental platforms for development of mobile apps. Generally you need to write different code for both of them. Hence cross platform development has become popular in the mobile industry. This saves time and effort of app development. Various tools have risen to make cross platform development conceivable and attractive. Each solution has its own advantages and disadvantages which stand in the way of successful <a href="https://solaceinfotech.com/blog/best-tips-to-improve-your-mobile-apps-performance/">mobile app development</a>. Developers are continually trying to extend their insight and adapt new technologies to enable them to build high-performing applications. Application owners, then again, look to optimize time spent on development. Hence Flutter has entered the mobile development world. If you are new to Flutter just go through- <a href="https://solaceinfotech.com/blog/what-is-flutter-about-the-joy-of-flutter/">What is Flutter? An about the joy of flutter.</a>What is Flutter?Flutter is Google’s mobile app SDK, complete with a framework, widgets, and tools. This helps developers with easy building and deploy attractive, fast mobile app on both Android and iOS platforms. Flutter allows a smooth and easy cross-platform mobile app development. You don’t have to build up an iOS and Android application independently. All you need is one codebase for the two platforms. Some key points about Flutter-Flutter Is free and open source.It is based on Dart language. This is fast, object-oriented programming language which is easy to learn.Give its very own widgets, drawn with its own elite rendering engine. They are quick, beautiful and customizable.Because of rich gadgets, Flutter applications look and feel incredible (you can make your own custom application plan, yet in addition utilize promptly accessible UI components following explicit platforms’ rules).Flutter architecture is based on the very popular reactive programming of nowadays.It is a new competitor of React Native.Why you should use Flutter in mobile app development?Flutter helps to speed up the mobile app development and also reduces the cost of app production. It also helps your team to build an attractive app with smooth animations. Let us see this more deeply.1. Fast code writing-For developers, Flutter implies quicker and increasingly dynamic mobile  application development. One can make changes in the code and see them straight away in the application! This is the so called Hot reload, which typically just takes (milli)seconds and enables teams to include features, fix bugs and investigation quicker. Hot reload is also truly agreeable in developer collaboration when we need to improve or explore with an application’s look and check the impacts on the spot. As such, with Flutter, your designer or analyzer can work with a designer on the UI, making changes and see them right away. Most sorts of code changes can be hot reloaded. In native app development, project needs to be rebuilt. This takes more time. You have to wait for each change.2. Single code for two platforms-Developers need to write just one codebase for two apps– covering both Android and iOS platforms. Flutter doesn’t rely upon the platform, since it has its own widgets and designs. This implies you have the same application on two platforms. However, what’s important is that, on the off chance that you need to separate your applications – it’s conceivable.3. Less testing-In the event that you have the same application for 2 platforms, it implies less testing! The Quality Assurance procedure can be quicker. The developers write automatic tests only once because of the one codebase. Additionally, Quality Assurance specialists have less work to do, because they have only one application to check.4. Faster apps-Flutter applications work in a smooth and quick manner, without hanging and cutting…
New post on Flutter Dev Google group:

mock firebase user for testing using mockito
mock firebase user for testing using mockito

October 22, 2019 at 12:43PM by Khadga Bahadur shrestha
https://ift.tt/33K3uMq
New post on /r/flutterdev subreddit:

Flutter dynamic TabBar and TabBarView tutorial
Hey Flutterists!I've been struggling creating more dynamic TabBars in Flutter as in Android it's fairly easy.
After implementing it in one of my projects, I've decided to create a lean version of what I call dynamic tabbar and tabbarview. In tutorial you can have a deeper look of how really to manipulate these two Widgets properly!Hope you can find it helpful. And please share any questions or any further problems you have in Flutter. I'm more than happy to help or make a tutorial about it.Cheers

October 22, 2019 at 12:30PM by Deimantasa
https://ift.tt/2PaKbHW
New post on /r/flutterdev subreddit:

Help positioning a container out of the main window.
Here is what I have now:https://imgur.com/a/lQ4dUwpAnd this is what I want to achieve:https://imgur.com/a/RDH1Unv​Here is my code:
class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: "TestIt", debugShowCheckedModeBanner: false, theme: ThemeData(fontFamily: "Roboto"), home: mainPage() ); } } class mainPage extends StatelessWidget{ @override Widget build(BuildContext context) { return new Scaffold( backgroundColor: Color.fromRGBO(37,32,52, 1), body: Container( child: Column( mainAxisAlignment: MainAxisAlignment.start, children: <Widget>[ new Stack( alignment: Alignment.topLeft, children: <Widget>[ new Container( height: 250.0, width: 250.0, margin: new EdgeInsets.only(left: 0), decoration: new BoxDecoration( borderRadius: new BorderRadius.circular(32), color: Color.fromRGBO(230, 92, 144, 1) ), ), new Container( height: 200.0, width: 200.0, decoration: new BoxDecoration( borderRadius: new BorderRadius.circular(32), color: Color.fromRGBO(247, 189, 100, 1) ), ) ], ), ], ), ), ); } } 


October 22, 2019 at 03:56PM by M4xi_
https://ift.tt/32y1zu9