Skip to content

feat: ✨ add animation option to setPage() method for Android#251

Open
moazelsawaf wants to merge 3 commits intoendigo:masterfrom
moazelsawaf:master
Open

feat: ✨ add animation option to setPage() method for Android#251
moazelsawaf wants to merge 3 commits intoendigo:masterfrom
moazelsawaf:master

Conversation

@moazelsawaf
Copy link
Copy Markdown
Contributor

Hi there 👋🏻

Thank you for making and maintaining this awesome plugin, which is helping the Flutter community grow more and more 💙

In this pull request, I have added an animation option to the setPage() method for Android. This allows users to jump to the required page with a transition animation ✅

Here are some details about the feature:

  • The feature is currently only supported for Android, as the native iOS dependency does not provide an option for this.
  • The feature has been documented in the README file and inside the code with Dart doc comments.
  • The feature can be enabled or disabled by a parameter called withAnimation in the setPage() method. The default value is false.
  • The feature has been implemented with backward compatibility in mind, so there are no breaking changes. The new parameter has been added as an optional parameter after the old required positional one.

I hope you like this feature! 💙

Thanks 🙏🏻💙

upgrade `build.gradle` file to match the latest Flutter SDK version at the time of commit
@moazelsawaf
Copy link
Copy Markdown
Contributor Author

Hi @endigo 👋🏻

It has been a long time since this PR, can you please review it and give me your feedback 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant