Mobile Tech
On Saturday I will talk about icons https://www.youtube.com/watch?v=cTUU4K4mD0A
My laptop died π
I was not very satisfied with the quality of this stream, so I will make a new one in the New Year!
I was not very satisfied with the quality of this stream, so I will make a new one in the New Year!
π’8β€βπ₯1π1
Modern Monorepo management in Dart and Flutter
https://lazebny.io/modern-monorepo-management
#dart #flutter #flutterdev
https://lazebny.io/modern-monorepo-management
#dart #flutter #flutterdev
Michael Lazebny
Modern Monorepo Management with Pub Workspaces and Melos in Dart
Efficiently manage Flutter/Dart monorepos using Pub Workspaces and Melos, with examples for dependency management and workflow automation.
π6β1β€βπ₯1
Call for ideas!
Please write what you would like to see an article about
Please write what you would like to see an article about
β€6π₯1
Small article about interesting way of implementing observer pattern
https://lazebny.io/sync-state-with-observers
https://lazebny.io/sync-state-with-observers
Michael Lazebny
Synchronizing state with observers in Dart and Flutter
Learn how to enhance Listenable logic in Dart with extended observer pattern for cleaner state management and reduced boilerplate code.
π8π₯1
Removing factories from sizzle starter. They're adding too much boilerplate.
https://github.com/hawkkiller/sizzle_starter/pull/404
https://github.com/hawkkiller/sizzle_starter/pull/404
π12π3β€βπ₯1
Ability to clearly explain your thoughts helps in life a lot. This is especially important when you're working in large teams and need to share your knowledge with others (by writing documentation, code comments, etc.)
These free Technical Writing courses by Google can be a good start:
https://developers.google.com/tech-writing/one
https://developers.google.com/tech-writing/two
https://developers.google.com/style
These free Technical Writing courses by Google can be a good start:
https://developers.google.com/tech-writing/one
https://developers.google.com/tech-writing/two
https://developers.google.com/style
Google for Developers
Technical Writing One introduction | Google for Developers
π6π₯5
Ephemeral and Application State in Flutter
https://lazebny.io/ephemeral-and-application-state-in-flutter/
https://lazebny.io/ephemeral-and-application-state-in-flutter/
Michael Lazebny
Ephemeral and Application State in Flutter
Differentiate ephemeral or UI state and application state in app design. Learn best practices and architecture insights.
40π9β€βπ₯1
Was thinking about using arrow or block functions. In the past I preferred arrow, but noticed that it makes code longer and less readable.
Compare. Which way do you prefer?
Compare. Which way do you prefer?
π6
π4β€βπ₯1
Sharing GraphQL lifehack
Here's how you can enable autocompletes for fields/fragments/queries:
1. Install graphql plugin (IntelliJ, VsCode)
2. Create
Enjoy autocompletes and analysis!
Here's how you can enable autocompletes for fields/fragments/queries:
1. Install graphql plugin (IntelliJ, VsCode)
2. Create
graphql.config.yml
in the root:
schema:
- "schema.graphqls"
documents:
- "**/*.graphql"
Enjoy autocompletes and analysis!
JetBrains Marketplace
GraphQL - IntelliJ IDEs Plugin | Marketplace
Provides GraphQL language support to all JetBrains IDEs that support JavaScript. Features Schema-aware completion, error highlighting, and documentation Syntax...
π9β€1
Learn how scroll works in Flutter, the differences between scroll widgets, and how to build efficient layouts using slivers for best performance.
https://lazebny.io/flutter-slivers
#article #flutter #slivers
https://lazebny.io/flutter-slivers
#article #flutter #slivers
Michael Lazebny
Flutter Slivers: How Scrolling Works
Learn how scroll works in Flutter, the differences between scroll widgets, and how to build efficient layouts using slivers for best performance.
π₯8β€2
I created a simple but much more powerful alternative to Widgetbook, Storybook, and similar tools.
It automatically generates routes for GoRouter (supports deep links).
It also makes it very easy to create configurations, fields, etc., for customizing widgets.
This is just an exampleβit will be improved over time and might eventually be added to sizzle starter or a separate package.
Github Link
#flutter
It automatically generates routes for GoRouter (supports deep links).
It also makes it very easy to create configurations, fields, etc., for customizing widgets.
This is just an exampleβit will be improved over time and might eventually be added to sizzle starter or a separate package.
Github Link
#flutter
π11π₯°4π₯3β€1
Rust is an amazing language for FFI in Dart
All you need to do is define the extern C function, run cbindgen to generate a C header file, and then run ffigen, which generates safe Dart bindings.
Here is how I implemented upscale using Rust's "image" crate, which is 50x faster than dart's "image" package.
I think this is not the best solution and if you know how to improve it, it would be greatly appreciated! :)
#dart #rust #ffi
All you need to do is define the extern C function, run cbindgen to generate a C header file, and then run ffigen, which generates safe Dart bindings.
Here is how I implemented upscale using Rust's "image" crate, which is 50x faster than dart's "image" package.
I think this is not the best solution and if you know how to improve it, it would be greatly appreciated! :)
#dart #rust #ffi
π12β€3
Learn how to use the @Deprecated annotation to migrate Dart code incrementally
https://lazebny.io/deprecated-in-dart/
https://lazebny.io/deprecated-in-dart/
Michael Lazebny
How to use @Deprecated in Dart
Learn how to use Dart's @Deprecated annotation to safely refactor code and manage CI deprecation warnings effectively.
π6