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

The getter 'x' was called on null error on app launch
I have an app that calls the position data of the accelerometer, simple X, Y, Z numbers. Code works fine and after a few milliseconds after launch of the app and shows the 3 axis numbers. I am getting the error below on opening the app:The getter 'toStringAsFixed' was called on null.Receiver: nullTried calling: toStringAsFixedI am getting this error, I think, because the accelerometer data is pulled after I call the data to be shown in a child text field. I have tried a few things but have not found any way to postpone showing the data until it is not null. This is one call of the data below which is in my stack and tablerowchild: Text((() {
if (x1.toStringAsFixed == null) {
return "";
}
// trim the axis value to 2 digit after decimal point
return x1.toStringAsFixed(2);
})(),
style: TextStyle(fontSize: 20.0),
textAlign: TextAlign.left),

January 31, 2021 at 01:58AM by Andcapulr
https://ift.tt/3aegTkG
New post on Flutter Dev Google group:

How to map data from Firestore to a list and convert to object data type
https://ift.tt/3tcXPMb

January 31, 2021 at 02:40AM by Zuher Abud
https://ift.tt/3pDmW94
New post on /r/flutterdev subreddit:

new tool alert 🚨
vcshooksThe tool help setup git hooks for your projects.It’s will: Check code style. Run unit tests. Check for branch naming Commit message and more.For now it’s supporting only dart and flutter project.But I’m adding native project too 😉

January 31, 2021 at 03:29AM by bitsydarel
https://ift.tt/2La1pG0
New post on /r/flutterdev subreddit:

Syncronising multiple lists with shared elements using riverpod
I am building an app like Instagram, with riverpod (Statenotifier) as my state management solution but I am really stuggling to figure out how I can sync posts that are present in various lists. An example of such case would be: I see a post on my home page, I bookmark it (which adds it to a list in another tabView). Now I go to the user's profile and like the post. Now when I go back to home or bookmarks the status of that post should be liked (Updated UI: outline heart changes to filled heart).I don't want to sync them through backend as I feed it would be unnecessary reads. My current approach was to have a singleton that contains a list of liked posts (gets the list from backend on init). Then I use that singleton to keep everything in sync and call refreshStateFunction for all the blocs/notifiers.What do you think of this approach? Is there a better way of doing it?

January 31, 2021 at 06:41AM by dontGiveAnEfAnynore
https://ift.tt/2L2Z5Ao
New post on Flutter Dev Google group:

How to handle navigation with WebViews in same app
Greeting to all, I'm a beginner at Flutter and need your help. I want to use WebView in app and navigate particular native page from WebView in the same app. It means this flow. Top Page(Native) --> Page1 (WebView) --> Second Page(Native) I can show Page1 (WebView) by webview_flutter pulugin

January 31, 2021 at 07:58AM by Kenichi Usami
https://ift.tt/3cnf4ER
New post on /r/flutterdev subreddit:

Please enlighten me, is this wrong and why if it is!
I'm using the ValueNotifiers for state management. But I'm storing them mostly globally in a value_notifiers.dart file without any wrapping class (I just have them defined there in the file). So, because I'm not seeing any major (if any) disadvantages of that, I do that. I need some reassurance that this is not too bad. Thank you all!

January 31, 2021 at 09:58AM by 2reform
https://ift.tt/39yLvOQ
New post on /r/flutterdev subreddit:

Flutter Food Shop UI Kit Part 9 - Home Part 1
https://youtube.com/watch?v=TEIXnOh7NgI&feature=share

January 31, 2021 at 11:49AM by dickyrey
https://ift.tt/36vyWSu
New post on /r/flutterdev subreddit:

FlutterForce — Week 106
https://ift.tt/39AQvm6

January 31, 2021 at 12:44PM by flutterist
https://ift.tt/36sUsHi
New post on Flutter Dev Google group:

I have written a simple calculator app in Flutter and I have a problem with a visual bug:
https://ift.tt/2ME0ldJ Head over there and help me, thank you!

January 31, 2021 at 03:53PM by Banik 1103
https://ift.tt/39xwUmA
New post on /r/flutterdev subreddit:

Hi r/FlutterDev! Our business needs a Flutter developer, what would you, as an experienced Flutter dev, expect from a new hire?
Hey everyone.I'm from LocalMonero, we run one of the biggest crypto P2P trading platforms in the industry.We're planning to use Flutter to develop our apps from the ground up, hence, we're looking for an experienced Flutter dev to hire full time and long term.What do you think are the most important indicators to look at to find a good Flutter dev hire? What are the common pitfalls you see inexperienced Flutter devs fall into that separate them from the experienced ones?

January 31, 2021 at 10:03PM by Alex_LocalMonero
https://ift.tt/3pAFmHx
New post on /r/flutterdev subreddit:

Invoking a AWS Lambda function directly from a Flutter app(with response) without using API Gateway
https://ift.tt/2NUKW9B

January 31, 2021 at 09:49PM by EnvironmentalDiver97
https://ift.tt/3jbzt12
New post on /r/flutterdev subreddit:

30 Days of Flutter - Registration closing 11:30pm PST (31st Jan)
https://ift.tt/3pAK9sv

January 31, 2021 at 10:55PM by whotzinit
https://ift.tt/3j6j51u
New post on /r/flutterdev subreddit:

Any Good Books on #dart with its core concepts
Any Good Books on #dart n #flutter which has more in depth topics like VM, isolates etc #flutterdev @FlutterDev @r_FlutterDev #dartlang Don't need Flutter UI n app making book.

January 31, 2021 at 11:55PM by theshivamlko
https://ift.tt/3r9uLDw
New post on /r/flutterdev subreddit:

Where Should I Be Looking Too Find...
Where should I be looking too find a mobile dev in Flutter? I am one person with an idea and some mad server skills. I can code some Python/Django but my idea would be better suited for mobile.Would you hire on Upwork? This community site that's listed in the rules (rule 6)? Their are some sites that come up in Google but anyone can make a site ... Plus I think I'm looking for that young/hungry developer who would give me a fair price whereas a dev shop would have more overhead thus charge more ...But after reading some of the posts in this forum, finding the right dev that will "code it correctly" the first time and not have to hire someone else in the future to go back through and fix garbage makes me nervous ..Anyway, where are the freelancers hanging out? Don't really care where in the world they would be as long as they can communicate in English.. And, how too find a freelancer who won't waste my time ...Appreciate any response.

February 01, 2021 at 01:12AM by kixago
https://ift.tt/3tgZYqy