Add missing curly braces in icon.dart (#12529)
(post-merge followup for #12516)
This commit is contained in:
@@ -104,11 +104,12 @@ class Icon extends StatelessWidget {
|
||||
|
||||
final double iconSize = size ?? iconTheme.size;
|
||||
|
||||
if (icon == null)
|
||||
if (icon == null) {
|
||||
return new Semantics(
|
||||
label: semanticLabel,
|
||||
child: new SizedBox(width: iconSize, height: iconSize)
|
||||
);
|
||||
}
|
||||
|
||||
final double iconOpacity = iconTheme.opacity;
|
||||
Color iconColor = color ?? iconTheme.color;
|
||||
|
||||
Reference in New Issue
Block a user