mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Adds semantic labels to images and modal close button (#56)
* Added semantic labels to images. * Reverting project file. * Semantic label for close button.
This commit is contained in:
committed by
Filip Hracek
parent
fe72ed957f
commit
cf95d2c3a3
@@ -62,6 +62,7 @@ class _ColorChangingIconState
|
||||
Widget build(BuildContext context) {
|
||||
return Icon(
|
||||
widget.icon,
|
||||
semanticLabel: 'Close button',
|
||||
size: widget.size,
|
||||
color: _colorTween?.evaluate(animation),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user