Skip to content

Commit

Permalink
GetX : 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 eeaec7d commit 979ae95
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/src/view/screen/office_furniture_detail_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,12 @@ class OfficeFurnitureDetailScreen extends StatelessWidget {
bottom: 20,
child: Obx(
() {
return SmoothIndicator(
return AnimatedSmoothIndicator(
effect: const WormEffect(
dotColor: Colors.white38,
activeDotColor: Colors.white,
),
offset:
controller.currentPageViewItemIndicator.value.toDouble(),
activeIndex: controller.currentPageViewItemIndicator.value,
count: furniture.images.length,
);
},
Expand Down

0 comments on commit 979ae95

Please sign in to comment.