What will happen if you call runApp() again in Flutter?
Anonymous Quiz
10%
App will crash
27%
Nothing - Flutter will ignore it
63%
Current root widget will be replaced with new one.
π3
What is the worst case time complexity of inserting into an array?
Anonymous Quiz
8%
O(1)
25%
O(logN)
67%
O(n)
π2
π1
π3
Dive into this week's top-liked Medium article where Arnold Parge shares his expertise on the usage of Autodesk APIs, with insights from his expert team. Stay tuned for the best in tech knowledge-sharing!
https://blog.nonstopio.com/how-to-login-in-flutter-using-autodesk-a9d2d43a634e
#flutter #gpt #automated
https://blog.nonstopio.com/how-to-login-in-flutter-using-autodesk-a9d2d43a634e
#flutter #gpt #automated
Medium
How to login in Flutter using Autodesk
How to authenticate in Flutter using 3 legged auth token.
How does UnmodifiableListView works?
Anonymous Quiz
22%
Locks the list and makes it unmodifiable
37%
Copies the list and makes it unmodifiable
41%
Stores the reference to the list and acts as an unmodifiable list
Use of Service Locator (i.e. GetIt) makes the code testable, clean and predictable.
Anonymous Quiz
29%
Yes
71%
No
π4π€1
Briefly about render objects and their responsibilities:
Linkedin
Michael Lazebny on LinkedIn: #flutter #interesting #tipoftheday #mobile #uiux
Render objects in Flutter
A vital part of Flutter's framework is its rendering engine, which paints the visuals you see on the screen. At the heart of thisβ¦
A vital part of Flutter's framework is its rendering engine, which paints the visuals you see on the screen. At the heart of thisβ¦
π₯6β€1
A few days ago I decided to create two scopes for the starter. Theme and Locale scope, so you can switch the themes, create custom ones without any effort. Also you can switch languages in the app.
I believe it would be really beneficial to have these scopesπͺ
I believe it would be really beneficial to have these scopesπͺ
π₯12β€2
Is it possible to send non-primitives between Isolates?
Anonymous Quiz
39%
Yes, you can send different objects between Isolates in the same Isolate Group.
61%
No, this is not possible because only primitives can be sent via SendPorts.
π1
Today I learned an interesting algorithm for finding the majority element.
The Boyer-Moore majority algorithm is a popular algorithm for finding the majority element in a list of integers. The majority element in an array (or list) is an element that appears more than n/2 times where n is the size of the array.
Here's a simple way to describe the Boyer-Moore Voting Algorithm:
1. Start with an initial candidate and a counter set to 0.
2. Iterate over the list of numbers.
3. For the current number: If the counter is zero, set the current number as the candidate.
4. If the current number is the candidate, increment the counter. Otherwise, decrement the counter.
5. The candidate will be the majority number.
#dart #leetcode #tipoftheday #algorithm
The Boyer-Moore majority algorithm is a popular algorithm for finding the majority element in a list of integers. The majority element in an array (or list) is an element that appears more than n/2 times where n is the size of the array.
Here's a simple way to describe the Boyer-Moore Voting Algorithm:
1. Start with an initial candidate and a counter set to 0.
2. Iterate over the list of numbers.
3. For the current number: If the counter is zero, set the current number as the candidate.
4. If the current number is the candidate, increment the counter. Otherwise, decrement the counter.
5. The candidate will be the majority number.
#dart #leetcode #tipoftheday #algorithm
π8π€2
Mobile Tech
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β¦
The second section of the advanced questions is due to be completed tomorrow.
π5
The second part is coming!
https://lazebny.io/flutter-advanced-two/
https://lazebny.io/flutter-advanced-two/
Michael Lazebny
Advanced Flutter Interview: Part two
This is the second article in a big series on advanced questions. I feel like it will be a permanent section on my blog π. If you haven't read the first part, I'd recommend going there first. Subscribe to my telegram channel and LinkedIn to not to miss excitingβ¦
π4π₯3πΎ2
Media is too big
VIEW IN TELEGRAM
Implemented both theme scope and locale scope for Sizzle Starter
π₯6π5
If previous key in widget doesn't match the new one, then
Anonymous Quiz
55%
Element will become defunct and a new one will be created.
14%
Element will become inactive, inserted into the tree and reactivated.
32%
If widget runtimeType matches then element will be reused and accept the new configuration.
β€2
Choose themes you are interested in (Top 3 wins) [Advanced Questions]
Final Results
50%
Streams, transformers, rxDart and implementations
39%
Futures, types, zones, implementations
43%
How does the routing work? Navigator, routes, pages, hero animations
14%
Focus System, focus scope, nodes, actions, shortcuts
11%
Gestures: hit testing, fighting, recognizers
36%
Render Objects, custom painter, parent data, layout, composing, painting, intrinsics
39%
Flutter Architecture: layers, embedding, method channels
43%
BLoC pattern
25%
Vieport & Scrollable: slivers, list views, sliver protocol
46%
State restoration, buckets, serialization