Support SemanticsFlag for Header (#15255)

This commit is contained in:
Michael Goderbauer
2018-03-09 13:32:01 -08:00
committed by GitHub
parent 96ce9d64ac
commit 3a40d0ee4e
7 changed files with 207 additions and 1 deletions

View File

@@ -152,7 +152,10 @@ class GalleryHomeState extends State<GalleryHome> with SingleTickerProviderState
child: new SafeArea(
top: false,
bottom: false,
child: new Text(galleryItem.category, style: headerStyle),
child: new Semantics(
header: true,
child: new Text(galleryItem.category, style: headerStyle),
),
),
),
)