Add missing trailing commas (#28673)
* add trailing commas on list/map/parameters * add trailing commas on Invocation with nb of arg>1 * add commas for widget containing widgets * add trailing commas if instantiation contains trailing comma * revert bad change
This commit is contained in:
committed by
GitHub
parent
046f960ae2
commit
387f885481
@@ -157,7 +157,7 @@ class CardItem extends StatelessWidget {
|
||||
@required this.animation,
|
||||
this.onTap,
|
||||
@required this.item,
|
||||
this.selected = false
|
||||
this.selected = false,
|
||||
}) : assert(animation != null),
|
||||
assert(item != null && item >= 0),
|
||||
assert(selected != null),
|
||||
|
||||
@@ -58,7 +58,7 @@ class AdjustableDropdownListTile extends StatelessWidget {
|
||||
}).toList(),
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ class AdjustableDropdownExampleState extends State<AdjustableDropdownExample> {
|
||||
'5 seconds',
|
||||
'15 seconds',
|
||||
'30 seconds',
|
||||
'1 minute'
|
||||
'1 minute',
|
||||
];
|
||||
String timeout;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user