flutter / flutter/flutter-intellij

[Auto Complete] children: <Widget>[...] should just be children: [...]

Open
#3,984 1 comment 0 reactions 0 assignees View on GitHub
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.

![giphy](https://user-images.githubusercontent.com/4229329/67030536-9cc36300-f0dd-11e9-858e-a411e07daca8.gif)

The ``.

https://dart.dev/guides/language/effective-dart/design#avoid-redundant-type-arguments-on-generic-invocations

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.