mirror of
https://github.com/flutter/samples.git
synced 2026-04-06 11:41:26 +00:00
[Gallery] Fix slow motion setting announcement (#301)
* Enable a11y carousel scrolling
* Fix slow motion announcement on android talkback
* Revert "Enable a11y carousel scrolling"
This reverts commit cc8f233b54.
This commit is contained in:
@@ -26,7 +26,9 @@ class SlowMotionSetting extends StatelessWidget {
|
|||||||
final textTheme = Theme.of(context).textTheme;
|
final textTheme = Theme.of(context).textTheme;
|
||||||
final options = GalleryOptions.of(context);
|
final options = GalleryOptions.of(context);
|
||||||
|
|
||||||
return Container(
|
return Semantics(
|
||||||
|
container: true,
|
||||||
|
child: Container(
|
||||||
margin: settingItemHeaderMargin,
|
margin: settingItemHeaderMargin,
|
||||||
child: Material(
|
child: Material(
|
||||||
shape: RoundedRectangleBorder(borderRadius: settingItemBorderRadius),
|
shape: RoundedRectangleBorder(borderRadius: settingItemBorderRadius),
|
||||||
@@ -66,6 +68,7 @@ class SlowMotionSetting extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user