Mobile Tech
Choose themes you are interested in (Top 3 wins) [Advanced Questions]
The results are:
1. Streams
2. Navigator
3. State restoration
1. Streams
2. Navigator
3. State restoration
π₯6
Should BLoC know anything about its consumers?
Anonymous Quiz
10%
Yes. It addresses their requirements and may have states such as ShowDialogState.
90%
No. Its duty is to do business logic and be consumer-agnostic.
π3π1
Navigator uses _ under the hood to show routes.
Anonymous Quiz
46%
Stack
22%
Overlay
17%
IndexedStack
14%
Custom implementation based on multi child render object
The next article will be about streams: how do they work under the hood, comprehensive analysis. Transformers, generators, subscriptions, listeners. Stream controllers and rxdart.
β€10
What does `external` keyword mean in Dart?
Anonymous Quiz
11%
Element can be loaded later (deferred)
89%
Used internally to mark element that has different implementations for platforms(e.g. VM or dart2js)
Many people follow the official Flutter channel, and there is a well-known rubric called Observable Flutter, which invites the most renowned contributors and open-source activists.
Recently, Dane Mackier, the author of Stacked, presented the library and I aim to provide an overview of his brainchild. My objective is to inform and increase awareness of the architecture and principles presented, rather than critique.
Read about it in my article. This should be interesting for folks who don't use stacked as well.
Recently, Dane Mackier, the author of Stacked, presented the library and I aim to provide an overview of his brainchild. My objective is to inform and increase awareness of the architecture and principles presented, rather than critique.
Read about it in my article. This should be interesting for folks who don't use stacked as well.
Michael Lazebny
Stacked Framework: Critique & Ways to Improve
Stacked
Many people follow the official Flutter channel, and there is a well-known rubric called Observable Flutter, which invites the most renowned contributors and open-source activists.
Recently, Dane Mackier, the author of Stacked, presented the libraryβ¦
Many people follow the official Flutter channel, and there is a well-known rubric called Observable Flutter, which invites the most renowned contributors and open-source activists.
Recently, Dane Mackier, the author of Stacked, presented the libraryβ¦
π₯4π3
Mobile Tech
Photo
What will this code emit?
Anonymous Quiz
43%
Data received: my data
48%
Bad state: Stream has already been listened to.
8%
Data received: my data Data received: my data
Updated ThemeScope for sizzle starter. Simplified structure to be more predictable, by introducing ThemeMode and saving only seed color to shared preferences (not entire scheme)
https://github.com/hawkkiller/sizzle_starter/pull/247
https://github.com/hawkkiller/sizzle_starter/pull/247
GitHub
Updated theme scope and related units by hawkkiller Β· Pull Request #247 Β· hawkkiller/sizzle_starter
Now [ColorScheme] is not stored in SharedPreferences
[AppTheme] holds only seedColor and type
Type from [AppTheme] is converted to [ThemeMode] and passed to [MaterialApp]
Implemented DAO for [Share...
[AppTheme] holds only seedColor and type
Type from [AppTheme] is converted to [ThemeMode] and passed to [MaterialApp]
Implemented DAO for [Share...
β€βπ₯6β€2
As human beings, we can only control a small part of things, and it is natural that there are some things beyond our control. Do your best if you can influence the outcome. Otherwise, don't worry about it.
π5
How to work with Clipboard in flutter?
There is a class Clipboard for these purposes in flutter:services.
It has two simple methods: setData and getData.
#tip #flutter #clipboard
There is a class Clipboard for these purposes in flutter:services.
It has two simple methods: setData and getData.
#tip #flutter #clipboard
π9
Ian Hickson (Flutter Tech lead) talks about slivers:
https://www.youtube.com/watch?v=Mz3kHQxBjGg&ab_channel=GoogleforDevelopers
https://www.youtube.com/watch?v=Mz3kHQxBjGg&ab_channel=GoogleforDevelopers
YouTube
Slivers Explained - Making Dynamic Layouts (The Boring Flutter Development Show, Ep. 12)
Learn about Slivers and how you can create fancy scrolling actions and dynamic layouts. Join Filip and Ian Hickson, a Technical Lead for Flutter, for an advanced, specialized topic for Flutter. They cover everything from what Slivers are to how to use it.β¦
π8
An iterator-like interface for stream values.
Allows more elegant and flexible solutions than default "for"
https://api.flutter.dev/flutter/dart-async/StreamIterator-class.html
#tip #dart #stream
Allows more elegant and flexible solutions than default "for"
https://api.flutter.dev/flutter/dart-async/StreamIterator-class.html
#tip #dart #stream
π4
New article about initialization and injection of dependencies in Sizzle Starter:
https://sizzle.lazebny.io/essentials/dependencies/
https://sizzle.lazebny.io/essentials/dependencies/
π₯6