1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 06:48:26 +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:
Andrew Brogdon
2019-03-14 14:45:15 -07:00
committed by Filip Hracek
parent fe72ed957f
commit cf95d2c3a3
4 changed files with 4 additions and 0 deletions

View File

@@ -122,6 +122,7 @@ class VeggieCard extends StatelessWidget {
Image.asset(
veggie.imageAssetPath,
fit: BoxFit.cover,
semanticLabel: 'A card background featuring ${veggie.name}',
),
Positioned(
bottom: 0.0,