Recommended libraries for Dart & Flutter:
https://lazebny.io/recommended-libraries-for-dart-flutter
#article
https://lazebny.io/recommended-libraries-for-dart-flutter
#article
Michael Lazebny
Recommended Libraries for Dart & Flutter
Recommended libraries for Dart & Flutter: built-in, utilities, network, storage, streams, animations, performance, testing, media and more.
21π10π₯4β€3
Let's talk about dependency injection (DI) in the next article?
π / π
π / π
π91β€3π₯3π―1
Just a very funny package to use when your client did not pay you π
https://pub.dev/packages/flutter_not_paid
https://pub.dev/packages/flutter_not_paid
Dart packages
flutter_not_paid | Flutter package
Client did not pay? Add this widget into your app and the app will fade away completely on reaching deadline.
π22π2π₯1
Forwarded from Oh, my Flutter [ENG] (Theodor)
A very cool presentation by Vyacheslav Egorov about the inner workings of Dart.
Using the example of two for-loops, he explains and demonstrates how to determine when the compiler generates suboptimal code and how to deal with it.
Additionally, the speaker showcases how to achieve Hot Reload by integrating Dart with SwiftUI and Jetpack Compose through FFI.
Highly recommended for viewing.
π Presentation
#video
#ohmyteam
#ohmyfedukenukem
Using the example of two for-loops, he explains and demonstrates how to determine when the compiler generates suboptimal code and how to deal with it.
Additionally, the speaker showcases how to achieve Hot Reload by integrating Dart with SwiftUI and Jetpack Compose through FFI.
Highly recommended for viewing.
π Presentation
#video
#ohmyteam
#ohmyfedukenukem
β€5
This media is not supported in your browser
VIEW IN TELEGRAM
π€ We've recently developed a simple plugin for Flutter that allows you to create custom wraps for the widgets you want!
Grab it here
Grab it here
1π₯13π5β€3
If you need to create instances of your objects, use Factory Pattern.
Extremely clean and scalable solution.
#tip
Extremely clean and scalable solution.
#tip
π10π₯΄7β€3π1
Article about dependency injection comes tomorrow! πͺ
Please open Telegram to view this post
VIEW IN TELEGRAM
1π13π₯13β€3
Please open Telegram to view this post
VIEW IN TELEGRAM
Michael Lazebny
Dependency Injection in Flutter
This article talks about dependency injection - how, where, and why to initialize dependencies. As a bonus, a comparison to get_it and riverpod.
22β€8π₯5π2
1π₯6β€1
Great news! I have launched boosty, so if you had problems with payments, you can now try this method.
https://boosty.to/mlazebny
https://boosty.to/mlazebny
boosty.to
Michael Lazebny - Everything about Dart & Flutter
https://lazebny.io/
π8β€3π₯3β€βπ₯1
I'd love it if you could check it out, give it a try and consider showing your support with an upvote. Your feedback would mean the world to us!
https://www.producthunt.com/posts/audo
Please open Telegram to view this post
VIEW IN TELEGRAM
Product Hunt
Audo: Your AI Career Concierge | Product Hunt
Audo guides you to the right career path, prepares you for interviews, and connects you with qualified job opportunities. Get 14 days of full premium access and start building your future today!
π6β€3
A small example of how a generic bloc looks like:
https://gist.github.com/hawkkiller/c17563201247e53f2c1b0295f37e8903
https://gist.github.com/hawkkiller/c17563201247e53f2c1b0295f37e8903
Gist
A good looking BLoC that conforms to design principles and manages the state correctly.
A good looking BLoC that conforms to design principles and manages the state correctly. - bloc.dart
π5β€1
The next article will be UI Kit Part 2, where we'll cover custom components, breakpoints, adaptive design, animations, navigation, and more.
After that, I'm considering writing about managing Internet connectivity - specifically, how to detect and handle connection changes, how to implement proper management of data, BLoCs, and widgets, and how to automatically reload the data when the connection is restored.
What do you think? π
After that, I'm considering writing about managing Internet connectivity - specifically, how to detect and handle connection changes, how to implement proper management of data, BLoCs, and widgets, and how to automatically reload the data when the connection is restored.
What do you think? π
2π15
Sizzle Starter now includes a robust analytics solution and an implementation for firebase.
Check it out here
Check it out here
π3π₯3
Just analyzed a pubspec one guy posted on Linkedin of his PAID flutter template :)
Let's review this pubspec.yaml file:
- auto_route: A navigation library with common issues related to templating. Currently, there's no ideal recommendation to replace it, but it's not great. Consider using go_router instead.
- awesome_flutter_extensions: While it might be useful, I don't recommend including it as a dependency in templates. Instead, add it manually if you find it beneficial in specific projects.
- collection: A great library! However, it's better to specify it under "any" versioning, along with other Flutter dependencies like meta, intl, and async.
- flutter_animate: This is a good choice.
- flutter_settings_ui: This library has been archived and only adds a settings screen. It's better to manually create your own settings screen for better control and flexibility.
- hive: This database is unsupported and problematicβavoid it at all costs. I recommend SQLite as a more stable alternative. More details here: https://lnkd.in/d5rGgdfQ.
- hooks: This is difficult to read and prone to errors. Instead, opt for using the lifecycle methods of a StatefulWidget.
- riverpod: A poor state management library with tight coupling, reliance on global variables, and side-effects. A better option would be to use bloc for state management and follow healthy dependency injection practices. More on this here: https://lnkd.in/dJKwbwsK and https://lnkd.in/dneDc5T7. Additional insights about riverpod can be found here: https://lnkd.in/deZpZH_C.
- logger: I'm not familiar with this one, but itβs often better to create your own custom logger, like the one in this template: https://lnkd.in/dha5d-UZ.
Good packages:
- mockito
- image_picker
- intl
- json_serializable
- freezed
- cached_network_image
By the way, I have my own template, that I recommend taking look as well https://lnkd.in/dz9FR5BG (it's free)
Let's review this pubspec.yaml file:
- auto_route: A navigation library with common issues related to templating. Currently, there's no ideal recommendation to replace it, but it's not great. Consider using go_router instead.
- awesome_flutter_extensions: While it might be useful, I don't recommend including it as a dependency in templates. Instead, add it manually if you find it beneficial in specific projects.
- collection: A great library! However, it's better to specify it under "any" versioning, along with other Flutter dependencies like meta, intl, and async.
- flutter_animate: This is a good choice.
- flutter_settings_ui: This library has been archived and only adds a settings screen. It's better to manually create your own settings screen for better control and flexibility.
- hive: This database is unsupported and problematicβavoid it at all costs. I recommend SQLite as a more stable alternative. More details here: https://lnkd.in/d5rGgdfQ.
- hooks: This is difficult to read and prone to errors. Instead, opt for using the lifecycle methods of a StatefulWidget.
- riverpod: A poor state management library with tight coupling, reliance on global variables, and side-effects. A better option would be to use bloc for state management and follow healthy dependency injection practices. More on this here: https://lnkd.in/dJKwbwsK and https://lnkd.in/dneDc5T7. Additional insights about riverpod can be found here: https://lnkd.in/deZpZH_C.
- logger: I'm not familiar with this one, but itβs often better to create your own custom logger, like the one in this template: https://lnkd.in/dha5d-UZ.
Good packages:
- mockito
- image_picker
- intl
- json_serializable
- freezed
- cached_network_image
By the way, I have my own template, that I recommend taking look as well https://lnkd.in/dz9FR5BG (it's free)
π6π₯6β€3
Creating reusable UI components + responsive & adaptive design.
Take a look at how Text widgets are implemented and a Window Size Scope. Really love those ones.
https://lazebny.io/ui-components-adaptive-and-responsive-design/
Take a look at how Text widgets are implemented and a Window Size Scope. Really love those ones.
https://lazebny.io/ui-components-adaptive-and-responsive-design/
Michael Lazebny
UI Components, Adaptive and Responsive Design
We will create components such as text, cards and other button types. In addition, we will talk about responsive and adaptive design.
π₯7