int.fromEnvironment and bool.fromEnvironment

When reading variables from .env files, you can use int.fromEnvironment and bool.fromEnvironment to read integers and booleans. https://codewithandrea.com/tips/int-bool-from-environment/

March 2025: Hot-reload on Flutter web, Practical Architecture, Unified Riverpod Syntax

Also included: Lesser-known Dart and Flutter functionalities, latest from Code with Andrea, and some thoughts on vibe coding with AI. https://codewithandrea.com/newsletter/march-2025/

Hot Reload on Flutter web (beta)

To enable this, switch to the latest Flutter beta (3.31) and run your app with --web-experimental-hot-reload https://codewithandrea.com/tips/hot-reload-flutter-web-beta/

Uploading Screenshots with Fastlane

Instead of taking screenshots manually for each device & language, you can automate it with Maestro! Here's how. https://codewithandrea.com/tips/uploading-screenshots-fastlane/

Using Semantics Identifiers for UI Testing

Instead of taking screenshots manually for each device & language, you can automate it with Maestro! Here's how. https://codewithandrea.com/tips/semantics-identifiers-ui-testing/

Automated Screenshot Generation with Maestro

Instead of taking screenshots manually for each device & language, you can automate it with Maestro! Here's how. https://codewithandrea.com/tips/automated-screenshot-generation-maestro/

Android Demo Mode for Better Screenshots

Here's a handy command to override the Android status bar UI before taking screenshots for your Play Store listings. https://codewithandrea.com/tips/android-demo-mode-for-screenshots/

iOS Status Bar Tip for Better Screenshots

Here's a handy command to override the iOS status bar UI before taking screenshots. https://codewithandrea.com/tips/ios-status-bar-for-screenshots/

Gradle Kotlin DSL (Flutter 3.29)

Apps created with Flutter 3.29 use the new Gradle Kotlin DSL on Android. Some CLI tools don't support the new syntax, yet. https://codewithandrea.com/tips/gradle-kotlin-dsl/

The flutter run --route argument

Pub.dev has a new chart that lets you see package download counts by version (major, minor, patch). Here's where to find it. https://codewithandrea.com/tips/flutter-run-route/


Członkowie



Szukaj