Commit 32c038ee authored by amirh's avatar amirh Committed by GitHub

Add missing curly braces in icon.dart (#12529)

(post-merge followup for #12516)
parent e3169568
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment