Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

Plugin Initialization failed during native call
Hi All, I am trying to use shared preferences as a plugin inside my android app. It stores the auth tokens and keys which are used to automatically login the user if the app is invoked at a later time. The app also is invoked through a native android event (action_send). In this flow, the app

March 12, 2021 at 06:15AM by Mohammed Salman
https://ift.tt/3lh1Eg4
New post on Flutter Dev Google group:

Why so few Flutter jobs & training out there?
Hi, For an upcoming talk comparing web and cross-platform frameworks < https://betterprojectsfaster.com/learn/talks-javaland-2021-long-java-front-ends/>, I researched job offers on Stack Overflow Jobs
New post on /r/flutterdev subreddit:

How to connect flutter with socketio?
Node Serverconst server = require("http").createServer();const io = require("socket.io")(server);io.on("connection", function (client) {  console.log("client connect...", client.id);  client.on("message", function name(data) {    console.log(data);    io.emit("message", data);  });});var port = process.env.PORT || 3000;server.listen(port, (err) => {if (err) throw err;  console.log("Serve Running");});Fluttersocket = io('http://127.0.0.1:3000', <String, dynamic>{'transports': ['websocket'],'autoConnect': false,});// Connect to websocketsocket.connect();}I am trying this code in frontend but it's not connecting with socketio. I have tried running this program after uploading node files to heroku. But it is still not working. It's not giving any response.Does anyone know where I am doing wrong?If someone know alternative method of connecting node server with flutter. Please tell me.

March 12, 2021 at 02:08PM by NecessaryAlarming790
https://ift.tt/30COdxy
New post on /r/flutterdev subreddit:

App Feedback Thread - March 12, 2021
This thread is for getting feedback on your own apps.Developers:must provide feedback for othersmust include Play Store, App Store, GitHub, GitLab, or BitBucket linkmust make top level commentmust make effort to respond to questions and feedback from commentersmay be open or closed sourceCommenters:must give constructive feedback in replies to top level commentsmust not include links to other appsTo cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.- r/FlutterDev Mods

March 12, 2021 at 03:00PM by AutoModerator
https://ift.tt/3coMmSm
New post on /r/flutterdev subreddit:

Advantages of Using Dart on the Command Line
I wrote an article explaining why I chose Dart for a command line tool over JavaScript, curl/Bash, or Python.Although the top advantage is the ability to use my Dart scripts in Flutter as well as the command line, I feel that Dart as a language is underappreciated. I like Dart and feel it has advantages as a language. I use Flutter because I like Dart, not the other way around.Flutter is amazing and after a year of using it, I still feel like it is magic every time it works. There's so many great things about it. However, the more I use Dart, the more I feel affection for it.Without automatic code formatting, all those round parenthesis might get tedious, but the auto-formatting is awesome and it works.Do other people like Dart as a standalone language? Or, are you using Dart because you need to use Dart to build a Flutter app?

March 12, 2021 at 02:29PM by codetricity
https://ift.tt/3bDG7uA
New post on /r/flutterdev subreddit:

What to use if flutter_form_bloc isn't maintained any more?
Have you looked into upgrading your dependencies to run flutter 2.x? flutter_form_bloc is my last blocker right now and it looks like it's no longer maintained.Is there any fork that has dependencies up to date and would allow easy transition?What other packages do you use for form state control?

March 12, 2021 at 04:12PM by akerro
https://ift.tt/38xYD5D
New post on /r/flutterdev subreddit:

I’m working with Search Delegate and I’m trying to implement transition Animation as the default isn’t cool. The only lead I have is to override createAnimation() from SearchDelegate but I have no idea how to go about it Overriding SearchDelegate’s transition animation
Overriding SearchDelegate’s transition animation

March 12, 2021 at 03:35PM by CulturalAfternoon306
https://ift.tt/3coxROv
New post on /r/flutterdev subreddit:

Most Minimal/Custom PCB for Flutter?
I am interested in using flutter in a series of mass produced electronic products (hand held or small table top games). Things that were traditionally done in the 80s with TI cpus for example and segmented LCDs could now be done with ARMs and touch screens and...... FLUTTER!I have a prototype (or 20) running on raspberry Pi, but im not really a hardware guy, and clearly i can't just buy 10,000 Raspberry Pis to make 10,000 $50 products. where $35 of the BOM would be a retail priced RPi. NO. That's dumb to use a technical term.So, the question is: what is the lowest (aka cheapest) PCB you've successfully (and rock solid stably) run flutter on? could a de-costed de-featured rPi be the answer?( And ultimately: Does anyone on this list want to help design that PCB i need on a contract basis? )

March 12, 2021 at 06:08PM by tombot2k
https://ift.tt/3l7xNqg
New post on /r/flutterdev subreddit:

Best practice for documenting Flutter projects?
I am not a Flutter expert (my background is Ruby/Rails) so please help me understand what awesome documentation looks like. I am managing a large Flutter project with a big team of developers and want to make sure that it's super easy for new junior developers to join the team. I also want to open-source the code in the future. So I want to put into place world-class documentation that will help the project team grow and collaborate with others.My main questions are:Are there any good examples of awesome project code documentation (Ideally Flutter, but not essential)Other than README, what other files would be helpful to onboard new junior developers?What's the best way of documenting custom Flutter packages, models and classes in /lib etc?What documentation would be helpful for Firebase functions and elastic search?What else do I need to make sure is documented? Thanks!

March 12, 2021 at 06:07PM by watchbuilds
https://ift.tt/3rIj5sh
New tweet from FlutterDev:

775 packages released null safe versions on https://t.co/XAGXN4ILmv in the past week. Among them:

* permission_handler
* flutter_html
* chewie_audio
* photo_view
* image_cropper

This takes us to 2219 null-safe packages. https://t.co/cKlDplTPOH— Dart Language (@dart_lang) March 12, 2021

March 12, 2021 at 06:30PM
http://twitter.com/FlutterDev/status/1370426884220157953
New post on /r/flutterdev subreddit:

How can I keep an app "active" at the background even when the device is off?
I am designing an health care app in Flutter. The app needs to be able to receive and send out notifications on bluetooth (or WiFi) all the time, if the users agreed to do so, when signed into the app.The app still needs to be able to stay active at the background or even when the phone screen is not active (off).Is this possible?Could new so called privacy protection imposed by Google and Apple prevent me from accomplishing such objective as briefly described?Thank you,

March 12, 2021 at 08:10PM by WiseRaven1
https://ift.tt/3leEQ0u
New post on /r/flutterdev subreddit:

Migrating existing app to web
First of all, I think Flutter 2 is great but is a bit overhyped in terms of "Write once, deploy everywhere". It's never quite that simple. There are differing screen sizes you have to design for, there are certain packages that just won't work the same on web (damn you in app purchase), etc.What's great, however, is that the business logic between each should stay relatively the same.I'm working on migrating an existing Flutter app to work on web, but after going down the rabbit trail, I found myself adding a ton of if(kIsWeb)... to just make it roughly work.I feel like this kind of code with all of the branching logic is not clean. Would I be better off just creating a new Flutter project specifically for the web version? And just copy over the usable pieces of it.I'm mostly looking for suggestions or a discussion here.. Especially from others who may have already gone through something similar.

March 12, 2021 at 08:47PM by Apallon
https://ift.tt/30GfUoW
New post on /r/flutterdev subreddit:

Flutter free courses
Hey everyone one. Is there any one who knows flutter certified on-line course? I need it for resume.

March 12, 2021 at 09:16PM by Ok_Profile7837
https://ift.tt/3tcWSmr
New post on Flutter Dev Google group:

Little update for layout tutorial
Hi, not sure if this is right place to show, but I had trouble with this earlier. If you follow the official layout tutorial from https://ift.tt/35Ed0Vi, you will see something like this on step 5: [image: Step 5.jpg] Instead of creating the images directory, it

March 13, 2021 at 03:17AM by Abraham Tsang
https://ift.tt/3bHvzuq
New post on /r/flutterdev subreddit:

What packages would I use to create an app that can scan my screen? (See description)
I want to be able to switch to another app, then scan the screen of that app and do something based on that. What packages would I need to do that?Right now, I think I would need a package like this to have an overlay to control the app when it's not in the foreground.Next I think I would need some sort of package to take screenshots. I think I want something like this but I'm not sure.Lastly I think I would need some sort of computer vision package so scan that image and process whatever data. I think I would probably use this package.All these features combined should create something similar to this app.I'd also like to add some sort of auto clicker feature to this app but I have no clue how to do that. All my searching has only found ways to test the gesture class in flutter and I'm fairly sure that's not what I want.

March 13, 2021 at 04:09AM by SirAwesome789
https://ift.tt/3qOTeha
New post on Flutter Dev Google group:

http Post issues
Hello, I'm having trouble retrieving data via http. I want to send a user name to my node.js api and have it return the encrypted password from the database. I must be missing a step somewhere. In the same app, I have a registration form that posts to the same database using the same api

March 13, 2021 at 05:33AM by Kevin Roberson
https://ift.tt/2PQQOS8
New tweet from FlutterDev:

🥳 Обязательно присоединяйтесь!#FlutterEngage is going to Russia! Join the developers from Russia and @filiphracek from the #Flutter team for a Flutter 2 Q&A!

Tune in 📺https://t.co/jiFtV0UOl1 pic.twitter.com/ijY6s3WE6N— Flutter (@FlutterDev) March 13, 2021

March 13, 2021 at 08:00AM
http://twitter.com/FlutterDev/status/1370630947880730626
New post on /r/flutterdev subreddit:

Flutter 2 gets 3 stable releases in last 10 days. I have handled release engineering before and this gives me chills. Is this release frequency on stable branch common for open source frameworks as compared to enterprise softwares?
https://ift.tt/35cCmHh

March 13, 2021 at 09:29AM by ankmahato
https://ift.tt/3eDe8gy