Use SizedBox.shrink() to return an empty box
1 min read
If you need to return an empty widget, SizedBox.shrink() is more performant than an empty Container.
If you need to return an empty widget, SizedBox.shrink() is more performant than an empty Container.
How to send HTTP requests and view the response directly in Visual Studio Code.
An extensive guide covering the code generation mechanism in Dart, useful code-generating packages, and tips for efficient codebase maintenance.
Learn how to parse JSON and define type-safe model classes that can handle validation, nullable/optional values, and complex/nested JSON data (updated to Dart 3).
An overview of different techniques for storing API keys on the client, along with security best practices to prevent them from being stolen.
Flutter apps built for macOS need a client network entitlement in order to make network requests. Here's how to configure it.
How to parse large JSON data using compute, Isolate.spawn, and Isolate.exit - a new feature for fast concurrency with worker isolates in Dart 2.15.