enable lint unnecessary_const (#19342)
This commit is contained in:
committed by
GitHub
parent
d10e46ea65
commit
cc1cf13eec
@@ -106,8 +106,8 @@ void main() {
|
||||
new Directionality(
|
||||
textDirection: TextDirection.ltr,
|
||||
child: new ListView(children: const <Widget>[
|
||||
const SizedBox(width: 100.0, height: 100.0, child: const Text('hello')),
|
||||
const SizedBox(width: 100.0, height: 100.0, child: const Text('hello')),
|
||||
SizedBox(width: 100.0, height: 100.0, child: Text('hello')),
|
||||
SizedBox(width: 100.0, height: 100.0, child: Text('hello')),
|
||||
]),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user