1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +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

@@ -76,6 +76,7 @@ class DetailsScreen extends StatelessWidget {
child: Image.asset(
veggie.imageAssetPath,
fit: BoxFit.cover,
semanticLabel: 'A background image of ${veggie.name}',
),
),
Positioned(