Consider using zeros for zero values, not nulls, in box.dart.
- Lingua principale
- Dart
- Stelle
- 1.7k
- Fork
- 404
- Merge medio
- 6g 17h
- PR unite (30g)
- 18
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- dart
- Ambito
- devtools
- Tipo di issue
- Refactoring
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100