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

What workflow do you use to resize views and texts to fit any screen in flutter?
Hi,I would like to know what workflow do you use to get nice layouts/texts on all screen sizes.I have been playing with media query but it seems a bit cumbersome. Would really appreciate if any experienced user could do a checklist or a step by step in order to accomplish this the easiest way.Cheers

December 30, 2020 at 06:28PM by wacomlover
https://ift.tt/2L6ufqe
New post on Flutter Dev Google group:

Connecting a Bank Account
I haven't been able to find possible widgets or others options where I can connect a bank account similar to the way "Accorns" does it. AKA see tranactions, round to the nearest dollar and then do something with those funds. a link or anything to point me in the right direction would be very

December 30, 2020 at 09:03PM by Brennan Altringer
https://ift.tt/38RKik9
New post on /r/flutterdev subreddit:

Firebase refresh issue
Hi all,A bit of a problem I can't seem to find the answer too.So I have a flutter app for iOS Android and Web, and I want the backend for them to be Firebase. Thus far for authentication I've just been using email/password login.For iOS and Android this went very smoothly, tested and working. Everything was working for web too, except for that if I logged in and refreshed the browser, the UI did not "log me in" (app was not detecting that someone was still logged in). So I set out to fix this web-only issue.Eventually I found something that worked for web. For this web issue, in my main.dart file, after callingWidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();I called:​await firebase
    .auth()
    .onAuthStateChanged
    .first;coming from the importimport 'package:firebase/firebase.dart' as firebase;
This is the only place I was using this import, just for this specific refresh issue on web. The rest has been through the firebase_core and firebase_auth packages.​It worked perfectly for the web issue, however. Problem is, now after fixing that I went back to test the android app (to make sure both worked together), and when trying to build the Android code it failed now -- because of that package.import 'package:firebase/firebase.dart' as firebase;​So my question is, does anyone know if I can do an equivalent to the above statement that fixed my web issue with the other firebase packages that are meant for mobile? An equivalent to:​await firebase
    .auth()
    .onAuthStateChanged
    .first;​So far I tried usingawait FirebaseAuth.instance.authStateChanges().first;
but no luck.​I guess if I can't do it with the mobile-compatible packages (please let me know if you know of a way I can), would I need to do a conditional import for web for the firebase plugin and also do some conditional check to make sure the client is web? As in use my current solution but find a way to only import that web package and the related code when the user is on web.​Any guidance is much appreciated. Thank you!

December 30, 2020 at 11:47PM by OwnLie1989
https://ift.tt/38J6psO
New post on /r/flutterdev subreddit:

How to integrate Segment with Flutter app?
Segment is used to collect data and send data to multiple platforms like Zendesk, Optimizely, Google Analytics etc. However, I couldn't find any proper documentation or tutorial of how to integrate it flutter specifically. Can it be even done?

December 31, 2020 at 01:49AM by quixoticthethird
https://ift.tt/3mZptYL
New post on /r/flutterdev subreddit:

Import package only when user is running web?
Hi all, I see that Flutter has conditional import statements, but after looking at some examples I’m still confused.If I want to have main.dart import package “package:xyz/xyz.dart” only when the user is on web, how can I achieve that in the simplest way? Thanks for any tips.

December 31, 2020 at 03:23AM by HenesysMSEast
https://ift.tt/2WWQdyz
New post on /r/flutterdev subreddit:

docstring error in flutter
in https://github.com/flutter/engine/blob/master/lib/ui/painting.dartthe documentation for relativeCubicTo is​/// Adds a bezier segment that curves from the current point to the/// given point (x2,y2), using the control points (x1,y1) and the/// weight w. If the weight is greater than 1, then the curve is a/// hyperbola; if the weight equals 1, it's a parabola; and if it is/// less than 1, it is an ellipse.​there is no weight parameter in relativeCubicToit seems to be describing conicTo which is directly below it

December 31, 2020 at 06:38AM by Ok_Crew_8352
https://ift.tt/3n6i8Xn
New post on /r/flutterdev subreddit:

HELP!
i did downloaded android sdk but when i run flutter doctor it keep says there is no android sdk downloaded.

December 31, 2020 at 06:04AM by hazard5023
https://ift.tt/34ZKDzX
New post on Flutter Dev Google group:

flutter path is not loading to Project
Hi, This is vamsi, i downloaded from SDK 1.22.5_stable and i want create flutter project in this process *flutter path is not loading to Project*. please resolve this issue. my System Configurations Windows 10.

December 31, 2020 at 07:44AM by Sangaraju Vamsi Krishna
https://ift.tt/3pP8z19
New post on Flutter Dev Google group:

Paid Work .Flutter full stack developer
I have a news app ui 100%done backend 80%done with clean ,commented,bloc pattern Pending work 1:Integration of API. Integration of strapi.io api to my app 2:google authentication 3:razorpay payment gateway integration My question is I have my own news editors and news reports(in my app

December 31, 2020 at 08:55AM by Droper
https://ift.tt/2WXYylD
New post on /r/flutterdev subreddit:

Complete Flutter + Dart Tutorial
Wanna learn how to develop android apps the easy way with Google's Flutter Framework ?Just follow our tutorial and subscribe our YouTube channel from here to learn Flutter with many projects, easy explainations, personal help and much more !

December 31, 2020 at 03:14PM by ProgrammingWithYash
https://ift.tt/3n07Gkh
New post on /r/flutterdev subreddit:

SingleChildScrollView with Columns containing GridviewBuilder
How should I wrap the codes?​I want to be able to scroll the screen.​SingleChildScrollView contains Columns contains widgets like Text, GridViewBuilder​However when I add the GridViewBuilder it gives me an error. I've tried wrapping it with Expanded and Flexible but couldn't get it to work.

December 31, 2020 at 03:11PM by cocag13996
https://ift.tt/3n2xxYX
New post on /r/flutterdev subreddit:

Flutter GridView with showMenu()
I am trying to give each element in the gridview a GestureDetector with onLongPress functionaility to show a pop up menu context beside the gridview element that is being selected.​I am currently using
showMenu(context: null, position: null, items: null) 
However I can't seem to align the showMenu properly, as I am not able to get the position for the different gridview elements

December 31, 2020 at 02:05PM by cocag13996
https://ift.tt/37ZKCxY
New post on /r/flutterdev subreddit:

Firebase push notification depends on Admin decision
Hi, I am a beginner in Flutter and Firebase.I was just making a simple e-commerce app, Actually, 2, one for Users - It shows product details, No authentication, payment. second for Admin - He can update product data in FireStore.I implemented Firebase push notifications using cloud functions using youtube tutorials and others. But it gets push notifications for all updates.Is there any way to make Admin can decide to send a push notification when which data get added or updated using cloud Function?

December 31, 2020 at 04:35PM by Ok_Understanding19
https://ift.tt/2WYQiln
New post on Flutter Dev Google group:

Getting Error during stripe payment
*can any one resolve my error i will be thankful to you* *Transaction Failed Error 'package:stripe_payment/src/stripe_payment.dart': Failed assertion: line 157 pos 12: 'intent.clientSecret != null': is not true.*

December 31, 2020 at 06:09PM by Muhammad Omar
https://ift.tt/3hxM3a7
New tweet from FlutterDev:

📱 Package of the Week: Device_info

Need to know more about the device that your app is running on, like the operating system or model? The device_info package lets you easily collect device info and access the underlying platform APIs.

Learn more → https://t.co/l8b5F91stU pic.twitter.com/lhJfgt6h4K— Flutter (@FlutterDev) December 31, 2020

December 31, 2020 at 06:29PM
http://twitter.com/FlutterDev/status/1344697272886558723
New post on Flutter Dev Google group:

How can I add google Promo codes on my app?
Can I add google promo codes on my app? https://ift.tt/384wyTC

December 31, 2020 at 07:39PM by Nayeem Ahmed
https://ift.tt/2WZlj8N