Commit 441e791
authored
[perf] prefer primitive over wrapped
**TL;DR:** no need for the wrapper type and it just gets unboxed a few lines later anyway.
Detected by a project inspection.
<img width="1572" height="272" alt="image" src="https://github.com/user-attachments/assets/4b8810c5-7ef9-4916-bd59-230c63c343e2" />
---
<details>
<summary>Contribution guidelines:</summary><br>
- See our [contributor guide]([https://github.com/dart-lang/sdk/blob/main/CONTRIBUTING.md](https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview) for general expectations for PRs.
- Larger or significant changes should be discussed in an issue before creating a PR.
- Dart contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`.
- Java and Kotlin contributions should strive to follow Java and Kotlin best practices ([discussion](flutter#8098)).
</details>ints (flutter#8532)1 parent 03b4dc7 commit 441e791
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments