Async Stream Initialization with async*

If you want to return a stream that depends on some asynchronous code, you can use async and yield https://codewithandrea.com/tips/async-stream-initialization/

How to Ask for In-App Reviews in Your Flutter App

The in_app_review package makes it easy to ask for reviews. And by using a data-driven approach, you can show the prompt at the right time. https://codewithandrea.com/articles/flutter-in-app-review-prompt/

Timing the In-App Review Prompt

To avoid prompting users too early, track your desired event and only ask for a review after it is triggered N times. https://codewithandrea.com/tips/timing-in-app-review-prompt/

Working with Multiple Xcode Versions

How to download multiple releases from xcodereleases.com, and switch between them with the xcode-select CLI. https://codewithandrea.com/tips/multiple-xcode-versions/

Flutter DevTools Logging Page

The Android debug logs can get quite noisy. To work around it, open the DevTools logging page, which will only show the Flutter logs. https://codewithandrea.com/tips/flutter-devtools-logging-page/

Adding a Navigator Observer

By implementing a NavigatorObserver, you can track page views or add navigation breadcrumbs to your error logs. https://codewithandrea.com/tips/navigator-observer/

September 2024: FlutterCon Recordings, Enterprise App Principles, Hot Reload Internals, Flutter GitHub Insights

Also included: Flutter & Friends videos, how integrate DCM with open source Dart & Flutter packages, and the latest from Code with Andrea. https://codewithandrea.com/newsletter/september-2024/

BuildContext Extension for Push, Pop

Rather than calling Navigator.of(context), you can define all the push/pop methods inside a BuildContext extension and make your navigation code less verbose. https://codewithandrea.com/tips/build-context-extension-push-pop/

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/


Membri



Ricerca