Consider using zeros for zero values, not nulls, in box.dart.
- Langage dominant
- Dart
- Étoiles
- 1.7k
- Forks
- 404
- Merge moyen
- 6 j 17 h
- PR mergées (30 j)
- 18
Description
This code uses List:
https://github.com/flutter/devtools/blob/3510c12d392547721d444338d4e45942092f8738/packages/devtools_app/lib/src/screens/inspector/layout_explorer/box/box.dart#L186
We need to either start using 0 instead of null or explain in comments what is the difference between 0 and null in the array.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start in packages/devtools_app/lib/src/screens/inspector/layout_explorer/box/box.dart at line 186 and inspect how the List values are created and consumed. Determine whether null and 0 have distinct meanings in this array; done means consistently using zero values or documenting the difference in comments.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart
- Domaine
- devtools
- Type d'issue
- Refactorisation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100