Remove page indicator increment/decrement

This commit is contained in:
Shawn 2022-09-20 19:33:53 -06:00
parent 6a31c38dab
commit 49cf3f1c11

View File

@ -264,17 +264,13 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
), ),
), ),
Gap($styles.insets.md), Gap($styles.insets.md),
Semantics( AppPageIndicator(
onIncrease: () => _setPageIndex(_wonderIndex + 1), count: _numWonders,
onDecrease: () => _setPageIndex(_wonderIndex - 1), controller: _pageController,
child: AppPageIndicator( color: $styles.colors.white,
count: _numWonders, dotSize: 8,
controller: _pageController, onDotPressed: _handlePageIndicatorDotPressed,
color: $styles.colors.white, semanticPageTitle: $strings.homeSemanticWonder,
dotSize: 8,
onDotPressed: _handlePageIndicatorDotPressed,
semanticPageTitle: $strings.homeSemanticWonder,
),
), ),
Gap($styles.insets.md), Gap($styles.insets.md),
], ],