TextField with Selection Height Style

You can use BoxHeightStyle to change the selection height style of a TextField (useful for multi-language apps) https://codewithandrea.com/tips/textfield-selection-height-style/

Vytvořeno 11mo | 9. 7. 2024 13:40:02


Chcete-li přidat komentář, přihlaste se

Ostatní příspěvky v této skupině

How to Configure the Updated Code Formatter in Dart 3.8

Dart 3.8 introduced an updated formatter with various configuration options. Learn what’s new and how to prepare your codebase. https://codewithandrea.com/articles/updated-formatter-dart-3-8/

21. 5. 2025 12:10:09 | Code with Andrea
Preserve Trailing Commas in Dart 3.8

Dart 3.8 introduces a new formatting option to preserve trailing commas, overriding the new formatting style introduced in Dart 3.7. https://codewithandrea.com/tips/preserve-trailing-commas-dart-3.8/

21. 5. 2025 12:10:08 | Code with Andrea
May 2025: Flutter 3.32, Dart 3.8, Material 3 Expressive, Local-First Apps with PowerSync

Also included: How Flutter works (video series), the definitive guide to Navigator 2.0, and the latest from Code with Andrea. https://codewithandrea.com/newsletter/may-2025/

21. 5. 2025 12:10:08 | Code with Andrea
Hot Reload on Flutter web (3.32)

To enable this, switch to Flutter 3.32 and run your app with --web-experimental-hot-reload https://codewithandrea.com/tips/hot-reload-flutter-web/

21. 5. 2025 9:50:04 | Code with Andrea
Null-aware elements in Dart 3.8

Null-aware elements allow you to add nullable elements to a collection with a single character (?). https://codewithandrea.com/tips/null-aware-elements-dart-3.8/

21. 5. 2025 9:50:03 | Code with Andrea
GoRouter Delegate Listener for Screen Tracking

If your app uses GoRouter with shell routes, tracking screen views reliably requires some workarounds. Here's how to make it work. https://codewithandrea.com/tips/go-router-delegate-listener/

8. 5. 2025 15:50:03 | Code with Andrea
Button Styles in Material 3

Material 3 supports 5 types of buttons: elevated, filled, filled tonal, outlined, and text. Here's how to use them in Flutter. https://codewithandrea.com/tips/button-styles-material3/

7. 5. 2025 11:50:03 | Code with Andrea