Skip to content

Commit

Permalink
riverpod : Add animated smooth indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaSys committed Jun 14, 2023
1 parent cdf8202 commit a6b1f60
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ class OfficeFurnitureDetailScreen extends HookConsumerWidget {
),
Positioned(
bottom: 20,
child: SmoothIndicator(
child: AnimatedSmoothIndicator(
effect: const WormEffect(
dotColor: Colors.white38,
activeDotColor: Colors.white,
),
offset: selectedIndex.value.toDouble(),
activeIndex: selectedIndex.value,
count: furniture.images.length,
),
),
Expand Down

0 comments on commit a6b1f60

Please sign in to comment.