Using Stack and FractionallySizedBox

Here's how to overlay multiple widgets inside a Stack and constrain their size and position with Positioned and FractionallySizedBox. https://codewithandrea.com/tips/stack-fractionally-sized-box/

созданный 4mo | 7 янв. 2025 г., 10:10:03


Войдите, чтобы добавить комментарий

Другие сообщения в этой группе

April 2025: Flutter Roadmap Update, New Beta Release, Latest Community Articles

Also included: upcoming changes to the formatter in Dart 3.8, common mistakes in Flutter and Dart development, OWASP Mobile Top 10 series. https://codewithandrea.com/newsletter/april-2025/

24 апр. 2025 г., 13:20:05 | Code with Andrea
How to use debugRepaintRainbowEnabled

debugRepaintRainbowEnabled helps you discover widgets/areas that unexpectedly repaint in your app. Here's how to use it. https://codewithandrea.com/tips/debug-repaint-rainbow-enabled/

24 апр. 2025 г., 10:50:09 | Code with Andrea
TextFormField Setup for Numeric Inputs

When working with forms in Flutter, numeric inputs need special attention. To improve the user experience, set the appropriate keyboardType and inputFormatters. https://codewithandrea.com/tips/text-fo

15 апр. 2025 г., 16:10:04 | Code with Andrea
Showing URLs on Flutter web with TextSpan

The TextSpan class lets you set a custom mouse cursor style, along with a tap gesture recognizer for opening your URL links on Flutter web. https://codewithandrea.com/tips/show-flutter-web-url-text-sp

9 апр. 2025 г., 16:20:08 | Code with Andrea
A/B Testing in Flutter

A/B tests help you make data-driven decisions and increase conversions in your app. Here's how they work. https://codewithandrea.com/tips/ab-testing-flutter/

8 апр. 2025 г., 12:30:04 | Code with Andrea
Release Toggles with Dart Defines

Static release toggles let you release unfinished code without activating it in production. Here's how to use --dart-define to manage them. https://codewithandrea.com/tips/release-toggles-dart-define/

2 апр. 2025 г., 15:10:04 | Code with Andrea
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/

28 мар. 2025 г., 12:20:09 | Code with Andrea