Commit bb67f19
authored
[fix] allow nullable
The `flutter_enhancement_suite` uses `PubRoot.forDescendant` but does not ensure null safety. Since the plugin is not being actively maintained (but still adding value), this adjusts the API to be defensive.
Fixes flutter#8399
---
<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>fileOrDir for client compatibility (flutter#8409)1 parent f9d7f33 commit bb67f19
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
122 | 125 | | |
123 | 126 | | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
0 commit comments