After the Lean-Forge team attended their first in-person conference in a long time, the conference season continued with our participation in the Flutter Global Summit 2022, hosted by Geekle.
This event is the second iteration of their online Flutter conference, focusing entirely on Dart and Flutter topics, divided into a free junior track and a paid senior track with more in-depth talks and the chance to interact and question the speakers.
An experienced and diverse lineup of speakers presented attendees with new opportunities, ideas, and practices for their personal and professional journey with Flutter. Here are just some highlights we particularly enjoyed.
Flutter Networking
The Junior Track featured a talk by Anna Leushchenko, Google Developer Expert for Dart & Flutter and the first ever Ukrainian GDE! She presented basic and advanced networking with Dart in the context of a Marvel comic app, her code available here.
Serialization, data classes, setting up an HTTP Client, and serving API requests with REST and the tooling behind it were the main subjects of her talk. If these sound interesting, you can re-watch it or follow the blog post linked in her GitHub.
Flutter and gRPC
Brian Mwangi discussed one of the most promising frameworks in combination with Flutter: gRPC. gRPC, a framework introduced by Google, provides real-time communication between applications, utilizing a specialized binary data format, ProtoBuf. His sample app showcased the near-instantaneous changes between two instances of it.
I recommend anyone interested to clone it and try it out; it really feels like working with cutting-edge technology. I'm currently experimenting with this combination and may elaborate on it in another blog post on our website.
Build Flavors
In the final presentation of the conference, Fabian Varela introduced a concept already used in existing Lean-Forge projects: Build Flavors. Build Flavors help distinguish between different builds or versions generated from the same codebase, commonly used to differentiate dev, prod, and release flavors. This enables custom assets, settings, different databases, or persistence options for each flavor, you name it.
Since the talk was part of the Senior Track and Fabian didn't share any additional material, I recommend checking out this list from flutter.dev, which contains community-written articles about flavors.
Microservice Architecture and Flutter
Another Flutter & Dart GDE, Teresa WU, shared her experience working on large projects and the challenges of respective architectural decisions. She suggested modular deployment of Microservices and Frontends, a common alternative to a monolithic design that reduces cyclic dependencies and facilitates CI/CD, among many other benefits.
Flutter enables this capability by structuring individual services into plugins. Where a normal Flutter project would use packages to separate responsibilities, a set of microservices can use individually versioned plugins that can then be imported into other packages and used via dependency injection.
Something every developer will appreciate: simpler and less testing is enabled by the modular architecture, as each component can be tested individually and testing is decoupled.
My thoughts
I really enjoyed the Summit, and while not every talk was relevant to my work with Flutter & Dart, one of the many joys of developing is getting a glimpse into the mindset and experiences of other developers around the globe. The more I learn about the ins and outs of Flutter, the more I can appreciate the features and capabilities it offers. I can't wait to get my hands dirty and try out some of the new things I've learned for myself. Stay tuned for the next Flutter conference; I will certainly be there!