Yesterday I published an article on SOLID principles supercharged with a bunch of real world examples in Dart 3.
https://lazebny.io/solid/
https://lazebny.io/solid/
Michael Lazebny
Deep Dive into SOLID Principles
This article is about principles that are likely to improve your overall architectural skills and knowledge. The article is supercharged with real world examples and the power of DART language! Let's go!
Good architecture
Most of us have wondered whatβ¦
Good architecture
Most of us have wondered whatβ¦
btw, It is really exciting to read boards and roadmaps of Flutter & Dart.
Dart language funnel - https://github.com/dart-lang/language/projects/1
Flutter roadmap - https://github.com/flutter/flutter/wiki/Roadmap
Dart language funnel - https://github.com/dart-lang/language/projects/1
Flutter roadmap - https://github.com/flutter/flutter/wiki/Roadmap
GitHub
Language funnel β’ dart-lang
This article, a weekly favorite on Medium, demystifies two ways to copy a Map in Dart: Shallow Copy and Deep Copy. Seeking to understand the difference? Get practical insights and demo programs to help you master how they function in different application contexts. Perfect for Flutter developers or anyone interested in app development using Dart.
https://medium.flutterdevs.com/shallow-deep-copy-a-map-in-dart-fcbd72c40329
#flutter #gpt #automated
https://medium.flutterdevs.com/shallow-deep-copy-a-map-in-dart-fcbd72c40329
#flutter #gpt #automated
txt.pdf
40.5 KB
The minimum expected list of topics for an
By the way, it has gotten so big that I am thinking of breaking it all down into a series of articles.
Advanced Interview Article
. By the way, it has gotten so big that I am thinking of breaking it all down into a series of articles.
π€―1
Our top liked article of the week dives into reversing a character string in Dart. We'll explore the step-by-step process, covering methods such as 'Reverse Using Split and Join', 'Reverse Using Runes' and 'Reverse Using Code Units'. This invaluable guide, a hit amongst Flutter app developers, breaks down this process efficiently for any Dart framework.
https://medium.flutterdevs.com/reverse-a-string-in-dart-85d80216c890
#flutter #gpt #automated
https://medium.flutterdevs.com/reverse-a-string-in-dart-85d80216c890
#flutter #gpt #automated
β€1π₯°1
The first in a series of articles on advanced flutter questions has just been published. At the moment, only Dart related questions are covered:
- Why is dart a perfect choice for flutter?
- What are the differences between const and final?
- Differences between local, static and global variables in Dart
- What is Dart VM?
- What is Dart Runtime?
- What are the Dart compilers?
- How does asynchrony work in Dart?
- What is the Await keyword?
- What about timers in Dart? How do I delay an operation?
- Is it possible to make the event loop hang? How do I fix it?
https://lazebny.io/flutter-advanced-one/
- Why is dart a perfect choice for flutter?
- What are the differences between const and final?
- Differences between local, static and global variables in Dart
- What is Dart VM?
- What is Dart Runtime?
- What are the Dart compilers?
- How does asynchrony work in Dart?
- What is the Await keyword?
- What about timers in Dart? How do I delay an operation?
- Is it possible to make the event loop hang? How do I fix it?
https://lazebny.io/flutter-advanced-one/
Michael Lazebny
Advanced Flutter Interview: Part one
Explore advanced Flutter interview topics, including Dart's role in Flutter, variables, asynchrony, DartVM, and more in this comprehensive guide.
π2π₯2
How do I unload an event loop in Dart? It is quite a common situation for us to have APIs like Future<List<T>>.
Imagine a method that returns a list of users. What you do there is parse the json into a dart list and then somehow convert it into a typed list of models. This conversion to models can be done lazily. Just change the API to Stream<T> and you will get the idea. You can put all the elements in the event loop to process them asynchronously.
Here is the link to the working flutter app, which gives you an example of how to do this:
https://gist.github.com/hawkkiller/932140079adfdcab2cfdd4b0292bb50a
#dart #flutter #async #eventloop #tipβββ
Imagine a method that returns a list of users. What you do there is parse the json into a dart list and then somehow convert it into a typed list of models. This conversion to models can be done lazily. Just change the API to Stream<T> and you will get the idea. You can put all the elements in the event loop to process them asynchronously.
Here is the link to the working flutter app, which gives you an example of how to do this:
https://gist.github.com/hawkkiller/932140079adfdcab2cfdd4b0292bb50a
#dart #flutter #async #eventloop #tipβββ
Gist
Event Loop unloading
Event Loop unloading. GitHub Gist: instantly share code, notes, and snippets.
π2
Dive into the advanced topic of Flutter's factory constructors in this popular medium article of the week. Learn when to use them, how they differentiate from static methods, and understand their relevance in implementing singleton patterns, deserialization, subclass instantiation, and more for a more readable code.
https://itnext.io/dart-flutter-what-are-factory-constructors-advanced-knowledge-9770ef723394
#flutter #gpt #automated
https://itnext.io/dart-flutter-what-are-factory-constructors-advanced-knowledge-9770ef723394
#flutter #gpt #automated
Medium
Dart/Flutter: What Are Factory Constructors? (Advanced Knowledge)
You will learn how factory constructors work and when to use them.
πΎ2
In the second part of advanced questions I will cover these themes:
- Pattern matching
- Immutability
- Isolates, heap, isolate groups
- GC
- Errors & exceptions - differences and proper handling
- What is a widget, different types
- Inherited Widget, its implementation and advantages
- State lookup, find ancestor in the tree
- Keys: local, global
- Pattern matching
- Immutability
- Isolates, heap, isolate groups
- GC
- Errors & exceptions - differences and proper handling
- What is a widget, different types
- Inherited Widget, its implementation and advantages
- State lookup, find ancestor in the tree
- Keys: local, global
β€3π2
I'm introducing exciting polls on various topics, mainly about Dart & Flutter. I think you'll like it.
Today published a post about Dart GC. I wrote about the garbage collection process and the tricks it employs.
Linkedin
Sign Up | LinkedIn
500 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.
π3
π3
Difference in behavior of single-subscription and broadcast streams.
Anonymous Quiz
25%
Broadcast stream buffer all events
13%
Single subscription stream buffer all events
62%
Both buffer, the difference being that broadcast stream allows multiple listeners.
π₯1
Mobile Tech
Photo
What will this code emit?
Anonymous Quiz
19%
Ben Ben Mike Mike
20%
Ben Mike Ben Mike
28%
Mike
2%
Nothing
6%
Mike Mike
26%
Ben Mike
π5
What is needed to override to compare objects in Dart?
Anonymous Quiz
79%
Both == an hashCode
14%
Only ==
6%
Only hashCode
π2π€1