flutter / flutter/flutter-intellij
[Auto Complete] children: <Widget>[...] should just be children: [...]
Open
- Dominant language
- Java
- Stars
- 2k
- Forks
- 356
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 27
Description
## Steps to Reproduce
1. Write a flutter widget.
1. In the build method, insert a `Row` widget.
1. Type `chil` and wait for the auto complete suggestion to show up.
1. Hit enter.
1. Notice that the inserted code included an unnecessary generic.

The ``.
https://dart.dev/guides/language/effective-dart/design#avoid-redundant-type-arguments-on-generic-invocations
Contributor guide
Assessment
This issue has not been assessed yet.