July 2024: Flutter CTO Report, FlutterCon Takeaways, Interviews from Google I/O, Rewriting Freezed with Macros

Also included: Code Push with Flutter, Flutter adaptive theming guide, building an enterprise mobile application with 2.3M lines of code. https://codewithandrea.com/newsletter/july-2024/

Hugeicons (4,000 stroke Flutter icons)

The hugeicons package was recently released, featuring a collection of over 4,000 stroke Flutter icons. https://codewithandrea.com/tips/hugeicons-flutter-stroke-icons/

How to Cancel HTTP Requests with CancelToken and Riverpod

You can use CancelToken to stop unnecessary data fetches when users navigate away or to implement "cancel" buttons in your Flutter apps. https://codewithandrea.com/tips/dio-cancel-token-riverpod/

TextField with Selection Height Style

You can use BoxHeightStyle to change the selection height style of a TextField (useful for multi-language apps) https://codewithandrea.com/tips/textfield-selection-height-style/

How to Render Transparent Images with the Opacity Argument

If you need to show a semi-transparent image, use the opacity argument with AlwaysStoppedAnimation rather than adding a parent Opacity widget. https://codewithandrea.com/tips/transparent-images-with-opacity/

The widget build method: DOs and DON'Ts

The widget build method can potentially be called in every frame and should not have any side effects. https://codewithandrea.com/tips/widget-build-method-do-dont/

Disposing Fields to Avoid Memory Leaks

Forgetting to dispose controllers in your State class can lead to memory leaks, and the "dispose-fields" rule from DCM can warn you about it. https://codewithandrea.com/tips/dispose-to-avoid-memory-leaks/

June 2024: New Flutter Playlist, iOS Home Widgets, When your Backend is Not Ready, Custom Matchers

Also included: automate Flutter Deployments with Fastlane and GitHub Actions, common mistakes with images in Flutter, ARB Translate package, and more. https://codewithandrea.com/newsletter/june-2024/

Flutter: Find Unused Dart Files (VSCode Extension)

With this VSCode extension, you can remove all the unused assets, files, and dependencies in your Flutter project and decrease your app bundle size. https://codewithandrea.com/tips/find-unused-dart-files/

Conditional Imports for Web/Native APIs

If you try to access a web-specific API on native platforms, your app will crash. Here's how to use conditional imports to solve this problem. https://codewithandrea.com/tips/dart-conditional-imports/


Membri



Căutare