mirror of
https://github.com/flutter/samples.git
synced 2026-06-02 20:41:04 +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 options = GalleryOptions.of(context);
|
||||
|
||||
return Container(
|
||||
return Semantics(
|
||||
container: true,
|
||||
child: Container(
|
||||
margin: settingItemHeaderMargin,
|
||||
child: Material(
|
||||
shape: RoundedRectangleBorder(borderRadius: settingItemBorderRadius),
|
||||
@@ -66,6 +68,7 @@ class SlowMotionSetting extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user