Remove page indicator increment/decrement
This commit is contained in:
parent
6a31c38dab
commit
49cf3f1c11
@ -264,17 +264,13 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
|
||||
),
|
||||
),
|
||||
Gap($styles.insets.md),
|
||||
Semantics(
|
||||
onIncrease: () => _setPageIndex(_wonderIndex + 1),
|
||||
onDecrease: () => _setPageIndex(_wonderIndex - 1),
|
||||
child: AppPageIndicator(
|
||||
count: _numWonders,
|
||||
controller: _pageController,
|
||||
color: $styles.colors.white,
|
||||
dotSize: 8,
|
||||
onDotPressed: _handlePageIndicatorDotPressed,
|
||||
semanticPageTitle: $strings.homeSemanticWonder,
|
||||
),
|
||||
AppPageIndicator(
|
||||
count: _numWonders,
|
||||
controller: _pageController,
|
||||
color: $styles.colors.white,
|
||||
dotSize: 8,
|
||||
onDotPressed: _handlePageIndicatorDotPressed,
|
||||
semanticPageTitle: $strings.homeSemanticWonder,
|
||||
),
|
||||
Gap($styles.insets.md),
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user