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

Flutter Login Page with wave animation
https://ift.tt/3jof6in

October 21, 2021 at 06:04PM by rrtutors
https://ift.tt/3niIJme
New post on /r/flutterdev subreddit:

freeRASP Update: Missing hero of Flutter World!
/r/FlutterDev/comments/q2j1ca/freerasp_update_missing_hero_of_flutter_world/

October 21, 2021 at 06:22PM by sergeychuk
https://ift.tt/3vxclQF
New post on /r/flutterdev subreddit:

Your app Terms of Service
Hey guys,I'm trying to integrate Twitter auth/share into my app, but it appears to require a link to my apps TOS, which I currently don't have. Is there a small amount of TOS that is acceptable (ie. I store your email address because we need it for the user, but if you delete your account everything is removed), or what?TOS generators seem to want $50 or more, which is great except for my app is meant to be free, and I'm already trying to figure out how to pay for the Apple store.Any suggestions?

October 21, 2021 at 06:16PM by ScottishRoss
https://ift.tt/3jkOCOz
New post on /r/flutterdev subreddit:

Roadmap for Flutter learning
Hello all the developers, I'm 18 years old and I know basics of java and C. I'm interested in learning Flutter so i thought to discuss it with the experienced ones. What is the roadmap of learning the flutter. What things should i learn first and What's the roadmap should i follow? Thank you

October 21, 2021 at 08:33PM by hanzalamalikk
https://ift.tt/3pnKkd8
New post on /r/flutterdev subreddit:

App Logic in repository or Bloc?
So this is something I have been struggling with. In my app I am using a UI -> Bloc -> Repository -> Provider -> Data pattern. Currently my provider just handles fetching the data and my repository class is doing some additional logic. My question is, should that additional logic really be moved into Bloc vs the repository? All my Bloc does is react to status changes from my Repo and wait for the UI to send a login/logout event which it then calls on the repository.​Example: LoginProvider: Pass the data to our backend.Repository: Call provider to actually trigger login and also store the received token to a secure Hive storage and add the authenticated value to a stream.Bloc: Read the stream from the repository and react to changes in that stream.UI: Listens to the Bloc for changes in the State (status from repo and user) and also add the Login event on button press.

October 21, 2021 at 09:30PM by claytoncasey01
https://ift.tt/2Zg5eAo
New post on /r/flutterdev subreddit:

My First Full Flutter App
This is the first time I make a ffull flutter app. although it does not use the internet but it still has a large code base and I refactored many parts of it from scratch until I reached a somehow state of satisfaction with it (I still have alot of optimal patterns to learn like coding without side effects...).​Anyway the app records, plays, and edits sound (using FFMPEG package for editing the sound).I will link the code on github here and you can fork/clone the repo and run the app. I havn't test it on ios, only android. Feel free to give me feedback about the organization of the code it will be much appreciated. The UI is not my concern now as the code cleanness is the greatest deal ever and once that is done everytthing else follows.

October 22, 2021 at 02:31AM by SnooJokes7874
https://ift.tt/2Xz3iCa
New post on /r/flutterdev subreddit:

Conditional Importing - How to compile for all platforms in Flutter
https://ift.tt/3pqC24l

October 22, 2021 at 12:37PM by Vanethos
https://ift.tt/3C5lvpP
New post on /r/flutterdev subreddit:

App Feedback Thread - October 22, 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

October 22, 2021 at 03:00PM by AutoModerator
https://ift.tt/3m52EpC
New post on /r/flutterdev subreddit:

Trigger hot code reload from within an application
To demonstrate Flutter's hot code reload I wrote a presentation tool (a tiny subset of Keynote) that can embed source code – even its own – and which then triggers a hot code reload on saving. It's fun to see when people realize that those "graphics" are indeed live Flutter widgets or even complete applications.Using FFI it became quite easy to trigger the reload by sending a USR1 signal to the application's parent process which is the flutter run command. This obviously only works on debug builds.I'd like to share the relevant code here:
import 'dart:ffi'; import 'dart:io'; late int _ppid = () { if (!Platform.isMacOS) { throw AssertionError('only works on macOS so far'); } final dylib = DynamicLibrary.open('/usr/lib/libSystem.dylib'); final getppid = dylib.lookupFunction<Int32 Function(), int Function()>('getppid'); return getppid(); }(); /// Triggers a **hot reload** by sending signal USR1 to the parent process. void hotReload() { Process.killPid(_ppid, ProcessSignal.sigusr1); } 
It would be great if someone could share a solution for Windows. For Linux, you probably need to change the path to libc.so or similar.

October 22, 2021 at 05:03PM by eibaan
https://ift.tt/3nhZ8HM