How to detect triple taps with RawGestureDetector

Thanks to RawGestureDetector and SerialTapGestureRecognizer, you can implement a custom TripleTapDetector widget. https://codewithandrea.com/tips/triple-tap-detector/

Flutter Sidebar (VSCode)

How to use the Flutter VSCode sidebar to access the DevTools and other useful functionality. https://codewithandrea.com/tips/flutter-vscode-sidebar/

August 2024: Flutter 3.24 Highlights, Flutter vs RN Benchmarks, HTTP Clients Deep Dive

Also included: Completers, Fragment Shaders guide, how to store data in secure storage, Mix and other Flutter UI packages, upcoming conferences. https://codewithandrea.com/newsletter/august-2024/

DevTools Performance Rebuild Stats

Since Flutter 3.24, a new Rebuild Stats feature is available on the DevTools performance page. Use it to spot widgets that rebuild too often. https://codewithandrea.com/tips/devtools-performance-rebuild-stats/

The CarouselView Widget

Since Flutter 3.24, a new CarouselView widget is available. You can set the children's size with itemExtent and shrinkExtent, and use it with any widgets as children. https://codewithandrea.com/tips/carousel-view-widget/

The dart pub unpack command

As of Flutter 3.24, a new "pub unpack" command is available. You can use it to download a package locally and easily explore its source code. https://codewithandrea.com/tips/dart-pub-unpack-command/

The OverflowBar Widget

OverflowBar makes it easy to layout your widgets in a row unless they overflow the available horizontal space, in which case they're arranged as a column. https://codewithandrea.com/tips/overflowbar-widget/

Futures: await vs unawaited vs ignore

When you call a method that returns a Future, you have to choose between using await, unawaited, and ignore. Here's an explanation. https://codewithandrea.com/tips/futures-await-unawaited-ignore/

Useful arguments in the log function (from dart:developer)

The humble log function has many arguments that can be used to customize the appearance of your logs. Here's how to use them. https://codewithandrea.com/tips/log-function-args/

Use unawaited for your analytics calls

When tracking analytics events in your code, consider using unawaited from dart:async (analytics calls should be fire & forget). https://codewithandrea.com/tips/use-unawaited-analytics-calls/


Membri



Ricerca