flutter / flutter/devtools

Consider using zeros for zero values, not nulls, in box.dart.

Open
#3,931 0 comments 0 reactions 0 assignees View on GitHub
fix it friday inspector-2.0-polish P3 screen: inspector
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.