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

Matching tiles using GridView.count
I been thinking about how to implement such a thing and I just can't figure it out. How would you go about implementing a Grid view in which it's items can be selected but it two at a time. If you have a two different lists that have a one to one relationship, how would you check if the selected item is a pair in the other list?I'm thinking it has something to do with checking it's index but I'm a little confused in the algorithm itself. I started programming about 9 months ago and moved to flutter about 4 months ago so I'm not too experienced with this. Will a map be needed?Thanks for any help.

February 24, 2021 at 03:59PM by HenryNanaAdu
https://ift.tt/3pQfyGy
New post on /r/flutterdev subreddit:

Open Source Flutter Apps
Hi!,For a development course at my university I have to make a report for an open source application made with Flutter. This has to be an app with more than 50k downloads and I am having trouble finding one with that many downloads. Do you know about any application that meets this criteria?

February 24, 2021 at 05:14PM by JuanWTF11
https://ift.tt/37LA19n
New post on /r/flutterdev subreddit:

The `rpc_gen` is a builder and generator of RPC (Remote Procedure Call) stub files.
The main goals and purpose of this project:Fast (in minutes) creation of RPC services simultaneously for server and clientFast (in seconds) creation of RPC procedures simultaneously on the server and clientMaximum flexibility in the choice of how to send and handle procedure callsEasily maintenance of consistency of source code for procedures on both layersConventions (of limitations, if you like to call it that):The Request and Response classes must JSON modelsThe JSON models must contain a constructor like formJson(Map json)The JSON models must contain an instance method like Map<String, dynamic> toJson()The RPC methods must be declared like Future<Response> Function(Request)The RPC service metadata class (interface) should contain nothing but methodshttps://pub.dev/packages/rpc_gen
https://github.com/mezoni/rpc_gen

February 24, 2021 at 04:22PM by andrew_mezoni
https://ift.tt/3aO8e9X
New post on /r/flutterdev subreddit:

It's been some time, but Beamer v0.7.0 has finally been published with cool new features and examples
In order of my personal liking, I would point out these new features:logo!providing something to the entire location, i.e. to all of its pagesimplicit beamBack on popfull beamHistoryAlso, examples got some new friends: location_builder and animated_rail integration (using the animated_rail package). Feel free to leave your example suggestion here.All contributions are welcome! Pick an issue to work on, make a new one with your suggestion or submit a PR with complete implementation of your idea.pub.dev: https://pub.dev/packages/beamer
GitHub: https://github.com/slovnicki/beamer

February 24, 2021 at 05:35PM by llsII
https://ift.tt/2MlGBf7
New post on /r/flutterdev subreddit:

Reverse engineering Flutter apps (Part 2)
https://ift.tt/2NrCiQ9

February 24, 2021 at 05:24PM by InfiniPixel
https://ift.tt/2ZSN981
New tweet from FlutterDev:

🔴 Anddd we're live! 🔴

Attend the #30DaysOfFlutter Humpday Q&A livestream now and find out how to share your #Flutter app with the community! Don't miss out on the live coding session featuring @jfkdev and a Q&A from @csells.

Tune in here 👉 https://t.co/KxerUKm0nA pic.twitter.com/GqscP0Vsrx— Flutter (@FlutterDev) February 24, 2021

February 24, 2021 at 06:00PM
http://twitter.com/FlutterDev/status/1364621114991931392
New post on Flutter Dev Google group:

Contract Job Opportunity // Hot Requirements // Immediate interviews
Hello Associates, Kindly send me resume at *Austi...@mirthconsulting.net
New post on Flutter Dev Google group:

Map navigation
Hello .... please help me to show live route navigation(according to users movement) in a flutter map app.

February 24, 2021 at 07:58PM by sona
https://ift.tt/3stQqHr
New post on /r/flutterdev subreddit:

Integration Tests on Windows Love Terminal
Just noting that if you are on MS Windows you still have to execute the drive part via terminal with this:​flutter drive --driver=test_driver/integration_test.dart --target=integration_test/widget_screen_test.dart --host-vmservice-port 8888 > machine.logAnd you get a nice machine.log file afterwards that states in it that the tests passed.Your app run config should have this--host-vmservice-port 8888as additional args​AND! the IntegrationTestWidgetsFlutterBinding.ensureInitialized();line has to be the very first line in main in your widget_screen_test in the integration_test folder as it cannot be in any setup blocksHopefully, Google improves

February 24, 2021 at 07:17PM by fredgrott
https://ift.tt/3kkvq2U
New tweet from FlutterDev:

♨️Hot and ready, 3 new effects recipes for your Flutter buffet!

On the menu:
Download button
Typing indicator
Drag UI element

Keep an eye out, there are 6 more recipes coming soon!

Start here &rarr; https://t.co/WxYo3kL4wB pic.twitter.com/VpLoQ4eKl4— Flutter (@FlutterDev) February 24, 2021

February 24, 2021 at 08:00PM
http://twitter.com/FlutterDev/status/1364651513918840832
New post on /r/flutterdev subreddit:

Which state management is better for app having lot of form and data fetching?
i have invoice app made using setstate for state management. i want to rebuild it using other state management approach. Invoice app have lot of dynamic form and fetching lot a paginated data.According to user interaction the page needs to fully rebuild (for eg: search page ) and some tiny change (for eg: switch) .Which stage management will be better.GetxProviderRiverpod

February 25, 2021 at 03:08AM by Accurate-Spare1389
https://ift.tt/3uu8xi2
New post on /r/flutterdev subreddit:

Discord Server for App Development
Hey everyone. I just quickly wanted to let you know there's a new, fast-growing server generally focused on app development. It's different from the Flutter server in that it is intended to encompass the entire process of building an app from design to development to marketing and more -- but there's also a channel for Flutter help as well. If you're interested in talking to, learning from, and sharing knowledge with like-minded people on the subject of mobile app development, be sure to check it out: https://discord.gg/ZqeGZARx5p

February 25, 2021 at 05:12AM by AppDevDiscord
https://ift.tt/2MnTRQx
New post on Flutter Dev Google group:

Unhandled Exception: PlatformException(error, FirebaseApp with name [DEFAULT] doesn't exist. , null, java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
hello there , this is my first time to integrate flutter app with firebase, I have followed all steps then i was an error so someone suggest me to delete apply plugin: 'com.google.gms.google-services' from app gradle after that i could run the app but when I tried to store data in Firebase I got

February 25, 2021 at 06:23AM by Raman Plaha
https://ift.tt/2ZMx9Vp
New post on Flutter Dev Google group:

sqlite issue while searching using search delegate
I implemented an app where I search items in the sqlite database. The problem is caused when there are too many items in the database the app stops working in the physical device maybe because of limited ram. I use a list to fetch all the items in the database and then I use .where to search in

February 25, 2021 at 07:09AM by Emily Walton
https://ift.tt/2ZQgXm2
New post on /r/flutterdev subreddit:

How to Pass a Message From Flutter to Native ??
This is a simple implementation showcasing:Passing a string Value from the flutter to Android codeGetting back response from Android code to fluttercode is based on an example from https://flutter.io/platform-channels/#codecHere is a full article on that.

February 25, 2021 at 06:37AM by Flutter-Agency
https://ift.tt/3pRicvL
New post on /r/flutterdev subreddit:

Getting instance of function with parameter
Hi, I am beinner in Flutter. I am working on OTP (one time password) authentication and I am struggling to access data which is response from http.post request. When user enters phone number confirmation code is sent and API object called 'secret' is created. User enters phone number from LoginScreen and I should have access 'secret' object from ConfirmationScreenThe problem is when I initialized likeNajotCreateUser najotcreateUser = NajotCreateUser;var secretData = najotcreateUser.createUser()String secret = secretData.data.secretI cant initialize secretData because it has parameter of String phone. My question is how to access instance of createUser() without typing parameter. Below are my code and APIclass NajotCreateUser {
Future<User> createUser(String phoneNumber) async {
final response = await http.post(url,
headers: {"client-id": clientId},
body: jsonEncode(<String, String>{"phone": phoneNumber}));
if (response.statusCode == 200) {
var result = response.body;
var data = User.fromJson(jsonDecode(result));
var secret = data.secret;
print('Secret is: '+ secret);
return data;
} else {
var result = response.body;
print(result.toString());
return null;
}
}
}This is getting instance of createUserNajotCreateUser najotcreateUser;
var secretData = najotcreateUser.createUser('phoneNumber');
/* I have to access to createUser without phoneNumber*/
String secret = secret.data.secret;And this is API"secret": "string","student": {"active": true,"created_at": "string","id": "string","image": { "url": "string", "uuid": "string" },"login_at": "string", "name": "string", "phone": "string", "updated_at": "string"}

February 25, 2021 at 08:17AM by Wild-Film673
https://ift.tt/3qTuqoY