Support SemanticsFlag for Header (#15255)
This commit is contained in:
committed by
GitHub
parent
96ce9d64ac
commit
3a40d0ee4e
@@ -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),
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user