How to extract business logic from your apps into testable classes, and write unit tests in Flutter. Uses a login demo example to write email & password validation tests. https://codewithandrea.com/videos/flutter-add-unit-tests-to-your-app/
Connectez-vous pour ajouter un commentaire
Autres messages de ce groupe
Also included: Dart 3.6, Flutter AI Toolkit, Flutter in Production livestream, and the latest from Code with Andrea. https://codewithandrea.com/newsletter/december-2024/
Since Dart 3.6 (Flutter 3.27), you can use _ as a digits separator. This works with integers and floats, as well as custom formats (hex, scientific). https://codewithandrea.com/tips/digits-separators-
To support the latest wide gamut color spaces, Flutter 3.27 has deprecated some properties and methods in the Color class. https://codewithandrea.com/tips/color-deprecations-flutter-3-27/
If you need to select between a small list of values but have limited vertical space, you can use a ListWheelScrollView. https://codewithandrea.com/tips/list-wheel-scroll-view/
If you want to render fixed width (monospaced) digits, set FontFeature.tabularFigures() inside your TextStyle. https://codewithandrea.com/tips/text-style-tabular-figures/
To support the latest wide gamut color spaces, Flutter 3.27 has deprecated some properties and methods in the Color class. https://codewithandrea.com/tips/color-deprecations-flutter-3.27/
Since Dart 3.6 (Flutter 3.27), you can use _ as a digits separator. This works with integers and floats, as well as custom formats (hex, scientific). https://codewithandrea.com/tips/digits-separators-