Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jwson-automation committed Aug 25, 2024
1 parent 2207d69 commit 2c40353
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 8 additions & 3 deletions lib/feature/onboarding/OnboardingScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ class _OnboardingScreenState extends State<OnboardingScreen> {
StepProgress(
totalSteps: OnboardingData.pageDataList.length,
currentStep: _currentPage,
activeColor: Colors.blue,
inactiveColor: Colors.grey,
continueButtonColor: Colors.black,
backButtonColor: Colors.blue,
finishButtonColor: Colors.red,
enableFinishButtonGlow: false,
onNext: (int) {
_onNextPressed();
},
Expand All @@ -81,7 +83,10 @@ class _OnboardingScreenState extends State<OnboardingScreen> {
curve: Curves.easeIn,
);
},
),
onFinish: () {
context.goNamed(TopScreen.name);
},
)
],
),
),
Expand Down
4 changes: 3 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ dependencies:
# audio player
audioplayers: ^6.0.0
lottie: ^3.1.2
flutter_custom_page_steps_indication: ^1.0.2

# page indicator
flutter_custom_page_steps_indication: ^1.1.1



Expand Down

0 comments on commit 2c40353

Please sign in to comment.