A few months have passed since Dart 3.0 was released with its sealed classes and pattern matching.
At that time, I removed "freezed" from "sizzle_starter" and have been testing the new feature on various projects ever since.
Finally, I've decided to undo the "freezed" deletion :)
https://github.com/hawkkiller/sizzle_starter/pull/275
At that time, I removed "freezed" from "sizzle_starter" and have been testing the new feature on various projects ever since.
Finally, I've decided to undo the "freezed" deletion :)
https://github.com/hawkkiller/sizzle_starter/pull/275
GitHub
Added freezed & Refactored by hawkkiller Β· Pull Request #275 Β· hawkkiller/sizzle_starter
Refactored locale
Added build.yaml
Added build.yaml
π6β€3π₯2
Often our desire is so much for the destination that we skip the journey.
We imagine life will drastically change once the goal is achieved (it won't)
Remember one simple truth: Life is about the journey, not the destination.
The same works for each field: be it a project or some other stuff.
Enjoy the #journey and live in the present moment.
We imagine life will drastically change once the goal is achieved (it won't)
Remember one simple truth: Life is about the journey, not the destination.
The same works for each field: be it a project or some other stuff.
Enjoy the #journey and live in the present moment.
π10β€4π₯3
Coupling is
Anonymous Quiz
48%
Degree of interdependence between modules
52%
Degree of relation between elements in a module
I will finish riverpod article by Friday :)
π13β€βπ₯3π₯3
Update: The article is finished, I will do some formatting tomorrow and post it in the morning! (About 9-10 CET)
π₯9
How to improve Flutter performance?
I've gathered some valuable insights:
π Keep build functions pure - no logic inside; build method can be called 120 times per second
π Prefer slivers for complex lists - instead of nesting multiple lists
π Make use of ListView.builder and SliverChildBuilderDelegate. When items in the list are the same size - set fixed extent
π Wrap frequently repainted widgets in RepaintBoundary
π When working with heavy computations (cryptography, encryption/decryption) - use isolates
π Keep the number of network requests to a minimum
π Dispose of resources - focus nodes, controllers, listeners
π Use the right state management solution
π Optimise assets - limit use of png, jpg files; replace svgs with icon fonts
π Set up Crashlytics or Sentry
π Don't get too involved with
third party libraries and plugins
π Use AnimatedBuilder's child field properly
π Test on real devices and look at the Profiler tab
Hope this was useful!
I've gathered some valuable insights:
π Keep build functions pure - no logic inside; build method can be called 120 times per second
π Prefer slivers for complex lists - instead of nesting multiple lists
π Make use of ListView.builder and SliverChildBuilderDelegate. When items in the list are the same size - set fixed extent
π Wrap frequently repainted widgets in RepaintBoundary
π When working with heavy computations (cryptography, encryption/decryption) - use isolates
π Keep the number of network requests to a minimum
π Dispose of resources - focus nodes, controllers, listeners
π Use the right state management solution
π Optimise assets - limit use of png, jpg files; replace svgs with icon fonts
π Set up Crashlytics or Sentry
π Don't get too involved with
third party libraries and plugins
π Use AnimatedBuilder's child field properly
π Test on real devices and look at the Profiler tab
Hope this was useful!
π13β€5π₯4
Mobile Tech
How to improve Flutter performance? I've gathered some valuable insights: π Keep build functions pure - no logic inside; build method can be called 120 times per second π Prefer slivers for complex lists - instead of nesting multiple lists π Make useβ¦
An interesting idea came to me:
Create a curated post on my blog where I will share the suggestions and best practices for flutter apps ( it will be updated each time I find something new )
Create a curated post on my blog where I will share the suggestions and best practices for flutter apps ( it will be updated each time I find something new )
π22π₯5
How to ship apps faster π
- Choose speed over quality
- Eliminate code reviews
- Don't do sprint planning
- Remove CI & Analyzer & Linter
- Ignore user feedback and testing
- Don't build a working MVP with minimal functionality
- Avoid regular team communication and updates
- Ignore documentation and code comments
- Ignore industry best practices and coding standards
- Do not periodically refactor to improve code quality.
- Leave a pile of TODOs after coding
- Don't think about backups
- Don't handle errors & exceptions
By doing all this, your app will definitely be shipped very quickly (maybe not where you planned though).
- Choose speed over quality
- Eliminate code reviews
- Don't do sprint planning
- Remove CI & Analyzer & Linter
- Ignore user feedback and testing
- Don't build a working MVP with minimal functionality
- Avoid regular team communication and updates
- Ignore documentation and code comments
- Ignore industry best practices and coding standards
- Do not periodically refactor to improve code quality.
- Leave a pile of TODOs after coding
- Don't think about backups
- Don't handle errors & exceptions
By doing all this, your app will definitely be shipped very quickly (maybe not where you planned though).
β€2π2
I am writing an article on one of the most popular Stoic principles - the dichotomy of control.
After it, I will post a curated list of tips, best practices, and suggestions for flutter apps.
After it, I will post a curated list of tips, best practices, and suggestions for flutter apps.
π5β€4
And one more thing I wanted to share: I decided to set myself a challenge:
Post on LinkedIn every day for a month.
I will tell you how many followers, impressions, likes, etc. I gained during that time.
Post on LinkedIn every day for a month.
I will tell you how many followers, impressions, likes, etc. I gained during that time.
π4π₯4
How to efficiently transform data using Codecs in Dart. Read in today's post :)
https://www.linkedin.com/feed/update/urn:li:activity:7130419429242224642/
https://www.linkedin.com/feed/update/urn:li:activity:7130419429242224642/
Linkedin
Michael Lazebny on LinkedIn: #dart #flutter #converter #json #utf8 #serialization
How to effectively serialize data in Dart & Flutter?
There is a very sophisticated way:
Dart has a built-in package called "dart:convert" that includesβ¦
There is a very sophisticated way:
Dart has a built-in package called "dart:convert" that includesβ¦
π₯6
Decided to hide the dock in macos. Always thought it was inconvenient.
In fact, it is, but it removes distractions and allows you to focus on the open window.
How do you fight with #distractions?
In fact, it is, but it removes distractions and allows you to focus on the open window.
How do you fight with #distractions?
π3β€2
Hey! Today I created a brief article about character encoding. A bit of history and explanations of terms like ascii, utf8 and unicode.
https://lazebny.io/character-encoding-and-how-it-works-2/
https://lazebny.io/character-encoding-and-how-it-works-2/
π2π₯2