MobileTech


Kanal geosi va tili: ko‘rsatilmagan, ko‘rsatilmagan
Toifa: ko‘rsatilmagan


Michael Lazebny's blog about software engineering and personal growth.
lazebny.io

Связанные каналы  |  Похожие каналы

Kanal geosi va tili
ko‘rsatilmagan, ko‘rsatilmagan
Toifa
ko‘rsatilmagan
Statistika
Postlar filtri


Next Article
So‘rovnoma
  •   Everything about Navigation in Flutter - Navigator (2.0), Pages, Routes, Router
  •   Writing effective tests - Unit, Widget, Golden, Integration
  •   Internals of EditableText (low-level widget for TextField)
  •   Scrolling in Flutter - Scrollable, Viewport, Slivers
11 ta ovoz




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)


Sizzle Starter now includes a robust analytics solution and an implementation for firebase.

Check it out here


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? 👍




Coming tomorrow




😎 Exciting news! Audo, the #AI Career Assistant I've been pouring my heart into, has just gone live.

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


So, next article will be about state management and business logic! 😎


Great news! I have launched boosty, so if you had problems with payments, you can now try this method.

https://boosty.to/mlazebny


Next Article Topic
So‘rovnoma
  •   😎Building UI Kit Part 2 - Text, Iconography, Responsive Design and Breakpoints
  •   🐶Flutter App Architecture Part 3 - BLoC layer, intercommunication, responsibilities
  •   🤨How Flutter paints text - TextPainter, dart:ui, Paragraph, Engine internals
  •   👍The role of widgets in Flutter. What you can and cannot do in widgets
  •   🥹How to correctly handle internet connectivity across the application
  •   👀Creating custom layout and UI with CustomChildWidget, Slotted Render Objects, Custom Painter
  •   🧐How Navigator works in Flutter - Pages, Routes, Overlay, Router, Navigator 2.0
  •   💪Internals of scrolling - lists, grids, slivers, viewport and scrollable
  •   🤫How Gestures work in Flutter - Arena, Recognizers, GestureDetector, Listener, PlatformDispatcher
  •   😈Everything about Event Loop / Threads in Dart and Flutter - futures, microtasks, timers
64 ta ovoz




Article about dependency injection comes tomorrow! 💪


If you need to create instances of your objects, always use Factory Pattern.

Extremely clean and scalable solution.

#tip


Video oldindan ko‘rish uchun mavjud emas
Telegram'da ko‘rish
🤟 We've recently developed a simple plugin for Flutter that allows you to create custom wraps for the widgets you want!

Grab it here


Oh, my Flutter [ENG] dan repost
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




Let's talk about dependency injection (DI) in the next article?

👍 / 👎



20 ta oxirgi post ko‘rsatilgan.