Skip to content

Commit

Permalink
Cubit: Add animated smooth indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaSys committed Jun 11, 2023
1 parent 1b5f31e commit b2cb5f6
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 HookWidget {
),
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 b2cb5f6

Please sign in to comment.