Stylish Text with ShaderMask and LinearGradient

To create a stylish Text, use the ShaderMask widget with a shaderCallback that returns a LinearGradient with begin and end points, along with a list of colors. https://codewithandrea.com/tips/shader-mask-linear-gradient-text/

How to add a Badge to an IconButton

The easiest way to add a badge to an IconButton is to use the Badge widget. Use this to show a numeric value or a custom label next to an icon. https://codewithandrea.com/tips/add-badge-icon-button/

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/


Члены



Поиск