Mobile Tech – Telegram
Mobile Tech
1.26K subscribers
107 photos
15 videos
6 files
154 links
Michael Lazebny's blog about @dart and @flutter
lazebny.io
Download Telegram
We are 500! 🎉🎉

Hi to all the newcomers! I share some valuable insights about Dart & Flutter here, write articles and sometimes contribute to open-source 😁️️️️️️

Some interesting links:

My flutter template - https://github.com/hawkkiller/sizzle_starter
GitHub - https://github.com/hawkkiller
Blog - https://lazebny.io/
Please open Telegram to view this post
VIEW IN TELEGRAM
13👍8❤‍🔥5
User or Profile?

User and profile concepts are closely related yet serve distinct purposes.

In essence, a user refers to an account or identity used for accessing system resources, typically including attributes such as a username, password, email address, and role.

Conversely, a profile represents more detailed personal information and preferences associated with the user, which might include their first name, last name, age, and other settings specific to how they interact with the system.

#tip
👍13😁1😐1
Dart program finishes when the main function is removed from the call stack.
Anonymous Quiz
52%
Yes
48%
No
👍5🔥5
🔥 I'm working on a popup playground that will showcase all the built-in options for popups + custom ones!
Please open Telegram to view this post
VIEW IN TELEGRAM
👍7❤‍🔥6🔥41
🔥 Dart 3.4 & Flutter 3.22

This release, specially planned for Google I/O, includes numerous amazing features, key highlights below!

Dart
🔥🔥🔥 Enhancements in WebAssembly, aimed at full WASM support in pure Dart apps.
🔥🔥🔥 @JsonCodable macros are in preview (in master), adding toJson and fromJson functionality. The team continues to invest in the macro system, allowing developers to create their own macros.
🔥 Analyzer completion improvements - closed over 50% of bugs.

Flutter
🚀🚀🚀 Full support for WebAssembly in Flutter apps! Rendering time is improved by 2-3x. Web apps became more performant.
🚀 Engine improvements - Impeller is feature-complete on Android. Improved performance for blurs and complex paths like SVG or Lottie animations.
🚀 Transformation of assets using Dart packages - users can now configure Dart packages to transform their app’s assets as they are bundled (see https://docs.flutter.dev/ui/assets/asset-transformation).
🚀 Platform Views became more reliable and performant on Android and iOS.
Android now supports predictive back.
🚀 DevTools now provides tool to validate deep links.
Material design updates include new surface colors, the removal of background, onBackground, and surfaceVariant, and adjustments to ColorScheme.fromSeed to align with Material 3 guidelines. Additionally, Material 2 text styles and colors are being phased out.
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥61
Screen Recording 2024-05-18 at 20.43.37.mov
3.3 MB
🔥 A new article about popups is coming next week!

In the meantime, I have created a custom popup that positions follower widget relatively to a target and prevents it from overflowing the screen.

#flutter
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥11👍3
Badge positioning implemented using SingleChildLayout

https://gist.github.com/hawkkiller/b0f5de60088c764dc331caec895fdd4e
🔥8👍1
Screen Recording 2024-05-20 at 22.39.55.mov
6.2 MB
Just implemented another useful feature for popups - ability for a follower to be given the same width/height as for the target.
🔥7👍4
What do you think about such outlines?

Looks good to me and provides short overview of a section.
👍9👎3
Some of my plans for June:

- land a few updates to Sizzle starter (improved http client, tests, structure and docs)
- write RTE (rich text editor) specification (I’m planning to build editor some time I have clear understanding of all the details)
- article about Focus in flutter (tab traversal, shortcuts, screen reader, how does it work under the hood)
🔥12
Implemented this chart using CustomPainter in Flutter.

25👍 and I will publish the source code :)
👍55🤡3🔥1