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

Is Flutter hard to learn for a web developer?
Hi,I've been coding for past decade or so and I'm currently a fullstack dev with 3 years of actual professional experience in Javascript (Node, React and Vue).My company wants to rewrite some applications in Flutter (originally React Native). I asked my supervisors for time to learn Flutter, since I find the language and technology interesting and I wouldn't mind diving deeper into it. My question is how long should I ask for? From being a Flutter beginner to deploying a simple app to production with Flutter? I know it's kind of a subjective question, and it depends on the individual studying. But what would you guys estimate? I asked for 3 weeks, I've always been a fast learner, but should I ask for more?

February 02, 2022 at 10:37AM by WasJohnTitorReal
https://ift.tt/pvGM62cSd
New post on /r/flutterdev subreddit:

Can flutter embed itself into a parent window? (nsView or nsWindow, HWND, X11's Window)
Hi,I wonder if flutter is able to embed into a parent window?A parent window would be HWND on windows, nsView or nsWindow on macOS, xcb_window_t with X11.This would be useful in the context of audio plugins (AU, VST3, CLAP, ...). See example interfaces: - https://github.com/free-audio/clap/blob/main/include/clap/ext/gui-win32.h - https://github.com/free-audio/clap/blob/main/include/clap/ext/gui-cocoa.h - https://github.com/free-audio/clap/blob/main/include/clap/ext/gui-x11.h - https://github.com/free-audio/clap/blob/main/include/clap/ext/gui.hThe flutter application would be ran in its own process of course.Thank you very much for your input! :-)Regards, Alex

February 02, 2022 at 12:59PM by abique
https://ift.tt/h5ubBAM7G
New post on /r/flutterdev subreddit:

Best Databases Benchmark
here I have improved Objectbox's Benchmark to use the latest version of Isar/Hive/Objectboxand here is the result and the videohttps://github.com/msxenon/flutter-db-benchmarksI would like to hear from you about it

February 02, 2022 at 12:17PM by Modi2x
https://ift.tt/7yKnJHXAk
New tweet from FlutterDev:

🤩 Day 1 of @FlutterVikings is starting soon! Are you excited for the awesome content the community has put together? Tune in for an amazing line-up 👇 https://t.co/7Xu7ip7l1Z— Flutter (@FlutterDev) Feb 2, 2022

February 02, 2022 at 01:30PM
https://twitter.com/FlutterDev/status/1488852199438536707
New post on /r/flutterdev subreddit:

Anyone else use BLoC AND Provider?
Hi there! I've spent some time developing a pretty complex app, and through the many hours of developing I learned a ton of things that make the code feel a lot more clean.One of them is using Freezed for state: I love the required exhaustion of the union types - I never get "unhandled state" type of errors.The trouble with this is that there are certain parts of the application that are *only* rendered on certain states. For instance, I have a cubit like this:
class ChemicalSelectCubit extends Cubit<ChemicalSelectState> { ChemicalSelectCubit() : super(ChemicalSelectState.loading()); Future<void> beginLoad() async { emit(ChemicalSelectState.selecting(...)); } } 
(obviously cut down for brevity)and a state something like this:
@freezed class ChemicalSelectState with _$ChemicalSelectState { factory ChemicalSelectState.loading() = _ChemicalSelectStateLoading; factory ChemicalSelectState.selecting(...) = SelectedChemical; } 
then, I have a bloc builder like this:
child: BlocBuilder<ChemicalSelectCubit, ChemicalSelectState>( builder: (context, state) => state.map( loading: (_) => const Center(child: CircularProgressIndicator()), selecting: (chemicalSelecting) => ChemicalSlider()), 
The thing is, I have an option here: I either can pass in the chemicalSelecting down to the chemical slider and all child widgets (but this is the common prop drilling problem) or I can opt for this:
child: BlocBuilder<ChemicalSelectCubit, ChemicalSelectState>( builder: (context, state) => state.map( loading: (_) => const Center(child: CircularProgressIndicator()), selecting: (css) => Provider.value( value: css, child: ChemicalSlider(), )), 
Then, whenever I need chemicalSelecting in the children, I can easily context.watch<ChemicalSelecting> and not have to deal with what to do on the loading state, since it's impossible to get the loading state in that subtree.Anyone else have a solution to the "impossible to reach state in a subtree" problem? Thanks!

February 02, 2022 at 04:13PM by PlzDontPMAboutFAANG
https://ift.tt/rmzPKVlI3
New post on /r/flutterdev subreddit:

How do I convince my team that we should use separate packages for state management , navigation , etc, rather than using a simple all in one solution like getx.
I am not against or in favour of getx package. But, I just like the idea of using separate packages for state management, routing etc.I have created an architecture similar to clean architecture using the following,Provider auto_route get_it Dio shared_preference

February 02, 2022 at 08:02PM by _the_airbender_
https://ift.tt/7elT4LPMa
New post on /r/flutterdev subreddit:

How do you organize your full-stack projects?
I have one project which has a backend and a web frontend part. Each of them lives in a separate repo. I've decided to add mobile app as well to my stack (Flutter) probably into third repository. I'm wondering how others are managing their projects.

February 02, 2022 at 07:25PM by tx6281920
https://ift.tt/Uw94X1rtd
New post on /r/flutterdev subreddit:

Has anyone got an alternative to OpenAPI Generator for creating backend API requests?
Flutter's quite new to me, and I'd like to try it out for my pet project, but I found that the Open API Generator is horribly outdated for it. It supports Dart 2.7, where 2.15 is the current version, and there's been tons of changes to stuff such a nullables (or so I've heard).In fact, the Open API generated code straight up doesn't work, and has errors straight out of generation, and is unusable.My question is how people are accessing their backend if Open API doesn't work. Are you all really writing your backend calls manually? Or is there an alternative or workaround that's automated.The other question is how detrimental it is to work on Dart 2.7 vs 2.15?I'd really like to use Flutter, but if something like this isn't going to change for the forseeable future, I'll probably take a stab at an alternative multiplatform front end.Thanks in advance.

February 02, 2022 at 07:25PM by ImranBepari
https://ift.tt/akmZydvig
New tweet from FlutterDev:

🖥🌀 We have a Flutter update for Windows devs you won't want to miss tomorrow! Are you ready? 🙌 Tune in Feb 3 at 10:00AM PT 👇 https://t.co/0ThIbcEoQz— Flutter (@FlutterDev) Feb 2, 2022

February 02, 2022 at 08:00PM
https://twitter.com/FlutterDev/status/1488950581519544320
New post on /r/flutterdev subreddit:

Generic class with Type use mixin
I know it is possible to do this:class Asd<T extends Qwe> {}class Qwe {}But it's possible to do something like this?class Asd<T with Qwe> {}mixin Qwe {}

February 02, 2022 at 08:50PM by jttuboi
https://ift.tt/xaY2o9TOk
New tweet from FlutterDev:

RT @WomenTechmakers: Black women aren't always welcome in tech, and that's a problem. Meet the women making tech more inclusive→ https://t.co/YWkH9dEzKm 🌟 #WomenTechmakers campaign, Black Women in Tech, highlights women who are using tech to build equity and break barriers. https://t.co/jy7ITMnVTX— Flutter (@FlutterDev) Feb 2, 2022

February 02, 2022 at 10:00PM
https://twitter.com/FlutterDev/status/1488980544956284931
New post on /r/flutterdev subreddit:

How big is your dart team?
As per the title.View Poll

February 02, 2022 at 10:43PM by bsutto
https://ift.tt/KMBaCvY6p
New post on /r/flutterdev subreddit:

Where to Find Entry-Mid Level Flutter Developer Jobs?
I'm not sure if this is the best place to ask this question, so please direct me somewhere else if you think that it shouldn't be on this subreddit.I graduated from a university in December with a Comp Sci degree, a minor is communication studies and another minor in applied mathematics. In my Junior year, I realized how much I love Flutter. So, I went all in with it. Landed an (unpaid) internship at a startup for the summer between my last two semesters of college, and I have even stuck with them for a while longer than required, to continue pushing me to learn more about Flutter.Now that I have graduated, I am looking for a full-time paid position, but I am having trouble getting an offer. I have come close (gotten through the last interview round) at two different companies so far, but still haven't received an offer. Besides that, I have interviewed at what feels like hundreds of Flutter jobs and gotten through many interviews. I have also applied to some android developer jobs as well, but I would much rather do Flutter, since I feel confident with my skills in it.Does anyone have any advice on how to land a Flutter developer job with only one internship worth of experience? (I also have about 5 or 6 projects on GitHub, but some companies are not counting that as experience).To give more background, I have knowledge of Flutter/Dart, Firebase, PostgreSQL, MySQL, Python, JavaScript, React, React Native, C/C++, Linux, and Docker.Any advice is greatly appreciated, thanks in advance.

February 03, 2022 at 01:42AM by Petrichor1999
https://ift.tt/jG8PZQL2n
New post on /r/flutterdev subreddit:

I created a CLI for generating your materials colors
I created a command called gator for generating your MaterialColor palettes. All it takes is a simple setup in your pubspec.yaml and executing gator -o path/to/generated.dart. This is identical to how flutter creates their own Colors.Example:
gator: class: MyColors colors: royalBlue: '0xff062091' grey: '#d6d6d6' rebeccaPurple: '663399' 
Generates:
class MyColors { MyColors._(); static const int _royalBluePrimaryValue = 0xff062091; static const royalBlue = MaterialColor( _royalBluePrimaryValue, <int, Color>{ 050: Color(0xff122b97), 100: Color(0xff1f369c), 200: Color(0xff384da7), 300: Color(0xff5163b2), 400: Color(0xff6a79bd), 500: Color(_royalBluePrimaryValue), 600: Color(0xff041357), 700: Color(0xff041666), 800: Color(0xff051a74), 900: Color(0xff051d83), }, ); ... } 


February 03, 2022 at 04:32AM by luckeyelijah
https://ift.tt/Ip4qtPvU3