make immutables const (#32340)

* make immutables const
This commit is contained in:
Phil Quitslund
2019-05-09 05:47:01 -07:00
committed by GitHub
parent 1621baafc7
commit d96c1c88b7
6 changed files with 39 additions and 39 deletions

View File

@@ -42,7 +42,7 @@ class _ContactCategory extends StatelessWidget {
}
class _ContactItem extends StatelessWidget {
_ContactItem({ Key key, this.icon, this.lines, this.tooltip, this.onPressed })
const _ContactItem({ Key key, this.icon, this.lines, this.tooltip, this.onPressed })
: assert(lines.length > 1),
super(key: key);