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

SDK manager throws an error
I have a Chromebook and I have android studios but that lags probably because have a 4gb ram.I decided to use vs code as it works smooth, but I have an error with SDK manager it keeps throwing this error every time I run sdkmanager I cant run it anywhere on my terminal I have to cd into tools/binto run the sdkmanager commands.
Warning: Could not create settings java.lang.IllegalArgumentException at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.<init>(SdkManagerCliSettings.java:428) at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.createSettings(SdkManagerCliSettings.java:152) at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.createSettings(SdkManagerCliSettings.java:134) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:57) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48) 


May 22, 2020 at 02:48PM by geekstershaq
https://ift.tt/36o5Ens
New post on /r/flutterdev subreddit:

How to sync gradle changes?
Hi, I am new to flutter and gradle properties. I saw lots of courses and tutorials just on Android studio to sync gradle changes after adding from Firebase. I don't know how to do that in vs code which I am using.I am installing an extension called gradle tasks. but there is no option to run or anything. Even when I run task and select gradle task there are errors like " There is no task provider registered for tasks of type "gradle ".

May 22, 2020 at 03:37PM by milanpoudel
https://ift.tt/2LMCW6i
New post on Flutter Dev Google group:

Get language name from locale
Does anyone know how to get the language names from locale rather than just language code? It obviously not built in, but is there a technique/overload/package that maybe does this? Instead of just: `locale.languageCode` do this: `locale.languageName`

May 22, 2020 at 05:27PM by Jeff Jorczak
https://ift.tt/3bWGLAe
New post on Flutter Dev Google group:

Hello! How to use future builder inside sliverlist wit silver app bar
Here is my code,, im getting error integerdivisionby zero exception,,,so i need to use future builder inside that sliver list,please help import 'package:flutter/material.dart'; import 'package:fffdesign/util_apis/api_util.dart'; import 'dart:async'; import 'package:http/http.dart' as http; import

May 22, 2020 at 05:31PM by Attaullah Khan
https://ift.tt/2zcDyj2
New post on /r/flutterdev subreddit:

<b>How I got my first 10k downloads in Google Playstore</b>
Getting real downloads is not easy for any new app and probably you will have almost no downloads in the first months. We have to accept it, and we have to be aware of this.Been said this, there are couple tips you can use to boost downloads, so I will share in this post all the techniques I used to boost the downloads of my first app made in Flutter.Who didn’t search in Google: <a href="https://www.google.com/search?q=how+to+get+app+downloads&oq=how+to+get+app+downloads">how to get app downloads</a>? Is the first thing the common sense will tell you to do, so I won’t go deeper here with tips you can find in hundreds of posts out there, but just for reference let me summarize the most useful.The 5 basic techniques:<strong>1. Build a landing page</strong> where people can find more information about your project, this also shows professionalism, brings safety and trust to people who never hear about you or your project before.<strong>2. Use social media channel.</strong> Show the world what you have built! But be humble, try to post in away people don’t perceive you are self promoting, but instead share your experience and inspire others.
People will get attracted if they feel they can make it too.<strong>3. App Store Optimization:</strong> <a href="https://en.wikipedia.org/wiki/App_store_optimization">Learn what ASO is</a>, apply all the tips you can read and measure the results for a period of time, let’s say a week, then make some changes and repeat.
This includes searching appropriate keywords, using a good description and adding images highlighting the features of your app.<strong>4. Don’t start promoting without reviews</strong>. Kindly ask to your inner circle if they can help you with a good review. Try to avoid spam and never buy reviews, platforms will detect this and could ban your app or block your account.<strong>5. Analyze your competitors.</strong> Look for the tops of your category and do a benchmarking. Try to learn from the leaders.Those are the most relevant techniques and in my experience you should investigate more about and apply them.Of course I started with those 5 tips, but now I will share with you how I did it to gain 10k downloads.My not secret sauce to get downloads<strong>1. I started promoting my app with family and friends but…</strong>
Don’t be afraid to ask your family, friends and colleagues to try your app, but you have to do it in a way they feel involved in your project.Be clear and ask them what they think about your app. Let them know you will use all their feedback to improve.Don’t beg and don’t bug or you will loose them. You should not spam or constantly request this, just continue with the ones that show interest.<strong>2. After I followed the 5 techniques above I created a small campaign.</strong>
I activated a campaign in Google Ads where I got the cost as 20 cents (USD) per download , so with an investment of $25 I was able to get my first 100 downloads.In my experience people check the downloads count to see the app popularity, so it’s a good idea to don’t start promoting with 0 downloads.<strong>3. I added my app to TAPPX.</strong>
<a href="https://medium.com/@niacubilla/how-to-promote-your-app-for-free-using-tappx-b4922951729c">Here is an entire post dedicated in explain how TAPPX works</a> and how I used to get more downloads.The latest version of my app doesn’t include TAPPX, since I rebuilt it from scratch and left some features pending to implement like offline content and remote config, but I can say this platform helped me getting downloads.<strong>4. I shared tips about what my app does in social media.</strong>
I made my Instagram account public so anyone can see my posts and I started sharing tips, not just the link of the app.For this you need to write well in a way people feel you want to help them and you are bringing something useful. Try to be relevant and bring value…
New post on Flutter Dev Google group:

deploying flutter app to galaxy store
There is no official documentation for deploying flutter app to other app store excluding google n ios. I want to know how to deploy flutter app on samsung galaxy store.

May 22, 2020 at 09:39PM by arihant abbad
https://ift.tt/2ZsADNN
New post on Flutter Dev Google group:

Still a problem with latest CocoaPods on Mac OS X Catalina?
I'm setting up my environment on Mac OS X Catalina for the first time, and I found this: https://ift.tt/2WVY9AQ < https://slack-redir.net/link?url=https%3A%2F%2Fdev.to%2F0xdonut%2Fhow-to-install-flutter-on-macos-using-homebrew-and-asdf

May 22, 2020 at 09:53PM by Stephen Huey
https://ift.tt/2A14FNQ
New post on /r/flutterdev subreddit:

How to know which TextTheme entry is used?
I had the exact same problem as this guy: https://stackoverflow.com/q/50619848/769006 I wanted to change the AppBar title color by using the app theme for the sake of consistency.Thanks StackOverflow, the top-upvoted accepted answer is the right one. I have to change the headline6 style (formerly title) of the primaryTextTheme. Boom, problem solved!Now I'm wondering... How could I know that by myself if a similar problem rise in an other Material widget?The link between the "headline6" and the AppBar title is not super obvious. The AppBar documentation page doesn't mention anything about that, neither does the title doc page.By reading the source code, I finally found the link between the AppBar and the primaryTextTheme in the AppBarTheme#textTheme doc but even here, there is no information about which key of the TextTheme is used...Am I missing something here?

May 23, 2020 at 04:44AM by ncuillery
https://ift.tt/3gfmR7e
New post on /r/flutterdev subreddit:

Quick & Easy: Create a Gradient / Image overlay/Mask (Like burning text effect) to any Flutter Widget with ShaderMask. [See the snippet and output]
https://twitter.com/erluxman/status/1264034430517014528

May 23, 2020 at 05:28AM by erluxman
https://ift.tt/2LSISKV
New post on Flutter Dev Google group:

Idea for sending direct message from user to user...
He guys, Suppose I want to make an uber clone in flutter, I want to send drivers notification about a ride when an user orders one. I am using firebase as backend to store and retrieve data and also to figure out the nearest drivers. But I am stuck at sending the driver a message of an user

May 23, 2020 at 07:07AM by Souvik Dutta
https://ift.tt/3bYf7Tu
New post on /r/flutterdev subreddit:

How to create ImageShader in Flutter?
I was playing with ShaderMask and it accepts two types of Shaders
Gradient & ImageShader 
I can create Gradient Shader like this :
LinearGradient(colors: <Color>[ Colors.deepOrange, Colors.blue, Colors.green, Colors.amber, ]).createShader(bound) 
but I couldn't find a way to create ImageShader.When I try to create it like this :
ImageShader( Image.network( "https://product-image.juniqe-production.juniqe.com/media/catalog/product/cache/x800/401/62/401-62-101P.jpg", ), TileMode.mirror, TileMode.mirror, Float64List.fromList([1.0, 1, 0, 1, 1, 1, 1, 1, 0])); } 
it says : Argument type widget/Image can't be assigned to parameter type ui/Painting/ImageI know these two Images are different but I couldn't create ui/Painting/Image from widget/Image.Also there might be an intuitive way to create ImageShader?What is the right way to crate ImageShader in Flutter?

May 23, 2020 at 06:19AM by erluxman
https://ift.tt/3cS0RNs